Commit Graph

140 Commits (f140d48e24aa8ed3a1ca57798f36a542db8bcfc7)

Author SHA1 Message Date
Alexander Iljin 8a4dba4cd9 Fix the existing IN: suffixes for the test vocabs
Change some existing vocab name suffixes from "-tests" or ".test" to
".tests". Add no new suffixes.
2018-01-24 16:03:48 -08:00
John Benediktsson be20da972a concurrency.mailboxes: some cleanup and docs. 2018-01-22 07:51:43 -08:00
John Benediktsson 0133a674a4 concurrency.mailboxes: fix test now that get-all returns a vector. 2018-01-20 21:30:34 -08:00
John Benediktsson cb89a14ed6 concurrency.mailboxes: use unless-disposed. 2018-01-20 12:23:32 -08:00
John Benediktsson f25d7313d6 concurrency.mailboxes: simplify mailbox-get-all-timeout. 2018-01-20 11:58:52 -08:00
John Benediktsson c68f0e0042 concurrency.distributed: use delete-at* instead of at/delete-at. 2018-01-20 08:18:36 -08:00
John Benediktsson 0ac73e1f11 concurrency.distributed: simplify a bit, mostly because...
... I'm not a fan of thd instead of thread, and it seemed (to me)
a little cleaner inlining assoc instead of using get/set words.
2018-01-20 08:16:25 -08:00
Alexander Iljin 392e57a0d5 concurrency.distributed: replace remote-thread connection slot with assoc
The new global assoc will match remote-thread instances with their
connection instances, if any. The slot removal will reduce the burden of
sending the remote-thread instances over the socket.
2018-01-20 08:12:38 -08:00
Alexander Iljin 5dec80711b concurrency.distributed: add myself to the vocab authors 2018-01-20 09:43:40 -06:00
Alexander Iljin 762268f2fe concurrency.distributed: implement with-connection combinator
This allows to send multiple messages over the same socket connection. The
old implementation used with-client, which sent a single message and then
closed the socket. The connection stream is stored in the new remote-thread
tuple slot named connection.
2018-01-20 09:43:40 -06:00
Alexander Iljin 72ed5bf73d concurrency.distributed: shorten stop-node implementation 2018-01-20 09:43:40 -06:00
Alexander Iljin 1c41499681 concurrency.messaging-docs: add a missing parenthesis 2018-01-16 13:40:14 -08:00
Alexander Iljin 737597fd5a concurrency.messaging-docs: add help for handle-synchronous 2018-01-16 13:40:14 -08:00
Alexander Iljin d97a83889a concurrency.distributed-docs: add a note about send-synchronous 2018-01-16 13:40:14 -08:00
Alexander Iljin 6bffbf4318 concurrency.distributed-docs: shorten some sample code 2018-01-16 13:40:14 -08:00
Alexander Iljin 620ab30ed7 concurrency.distributed-tests: add test for send-/reply-synchronous 2018-01-16 13:40:14 -08:00
Alexander Iljin a25bffeb01 concurrency.distributed-docs: fix an error in port number specification 2018-01-16 13:40:14 -08:00
Alexander Iljin f1e4095d50 concurrency.distributed-docs: update an example code 2018-01-16 13:40:14 -08:00
Doug Coleman 02a9bbefe7 concurrency.messaging: Fix a couple of confusing typos. 2017-12-17 18:49:30 -06:00
Doug Coleman 48344ab55c factor: last iota -> <iota> fix. 2017-06-02 17:39:40 -05:00
Doug Coleman e189954ecc core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ; 2017-06-02 11:57:05 -05:00
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
Alexander Iljin ca08bfd4b0 concurrency.distributed-docs: update the Example article 2017-01-05 12:48:50 -08:00
Chris Double 5f1400bd0c Fix concurrency.distributed tests 2016-11-10 17:38:59 -08:00
Chris Double 4c3714ac56 Fix serializing of remote threads in concurrency.distributed
The commit f20ee7a53b broke
serialization of remote threads and removed the local node
aspect of distributed messaging. This corrects that.
2016-11-10 17:38:59 -08:00
John Benediktsson 8a720c7889 concurrency.semaphores: fix typo in docs. 2016-10-12 10:14:09 -07:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson 6b12e2e3bc use ?delete-file instead of [ delete-file ] ignore-errors. 2016-07-10 20:28:46 -07:00
Alexander Iljin e1928eac8b concurrency.mailboxes-docs: add some missing commas 2016-06-22 11:27:26 -07:00
Alexander Iljin 6f8e6c5b31 concurrency.messaging-docs: add a missing parenthesis 2016-06-22 11:27:26 -07:00
Björn Lindqvist 686975ec29 ui.tools.listener: only wait up to 5 seconds for the listener to start
otherwise unit tests can wait forever if there is an error in listener-thread
2015-11-27 13:15:17 +01:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman 2c257f399c factor: Rename MACRO: and MACRO: to have quot as the output in stack effects. 2015-07-18 22:16:11 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
Doug Coleman ffed1387ab concurrency: Rename wait-timeout to timed-out-error for clarity. Add the timer that timed out to the error tuple. 2014-06-06 10:10:09 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 712be93989 http.client: remove http-get* and its friends, change http-request* and with-http-request* to not check response codes. 2014-03-12 19:39:15 -07:00
John Benediktsson 7c9e0f3017 concurrency.combinators: adding parallel-assoc-map. 2013-11-21 14:52:38 -08:00
John Benediktsson 3d2cd564bf concurrency.combinators: adding parallel words for cartesian-{map,each}. 2013-10-12 11:03:46 -07:00
John Benediktsson eb801f1072 concurrency.combinators: adding parallel-product-map, docs for stack effects. 2013-10-12 10:45:15 -07:00