Commit Graph

28 Commits

Author SHA1 Message Date
Matthew Flatt
4d76aa2040 place channels & threads: improve GC
Allow a thread to be GCed when it is blocked on a place
channel for reading and the place channel's write end
is inaccessible.

GC is limited to threads that do not participate in cycles
of such threads, where the otherwise unerachable threads
are blocked on place channels that are reachable among the
set of threads. In other words, the GC finds the greatest
fix point (as measured by the threads to retain) instead of
least fix point --- which isn't what you want, but finding
the least fix point seems to require significant extra GC
machinery across places.

This improvement was intended to solve the same problem as
commit 7b0608c, but that case seems to run into the limitation
on cycles.
2013-03-25 05:15:24 -06:00
Matthew Flatt
b69573277c reference: rerrange docs on synchronizable events
Put the details consistently with event datatypes, instead
of trying to put them all in `sync', which better reflects
the extensibility of the set of synchronizable events.
2012-12-25 07:20:58 -06:00
Matthew Flatt
b043da6ea6 SIGHUP and SIGTERM -> exn:break:hang-up' and exn:break:terminate'
The default uncaught-exception handler calls `exit' when it receives
one of the new exceptions.
2012-08-13 17:11:20 -06:00
Matthew Flatt
3daf61f605 dc clarification on `thread-suspend' 2011-06-20 14:46:14 -06:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Asumu Takikawa
01a987bf5e Use a real contract instead of imaginary for sleep 2011-06-13 12:09:52 -04:00
Eli Barzilay
000e52d31d Minor but potentially confusing typo 2011-04-07 10:52:15 -04:00
Matthew Flatt
3bb120545f fix ~300 typos reported by Vladimir Nesterovich (a.k.a. Gwyth)
--- but Gwyth's amazingly helpful review of chapters 1-11
     pointed out a few problems that are more difficult to fix
     and are still pending
2011-01-04 09:53:31 -07:00
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Matthew Flatt
737b6fac01 rackety reference; any lingering reference to racket as scheme is a doc bug 2010-04-27 08:20:16 -06:00
Matthew Flatt
dbc4ea6e82 racketify reference more 2010-04-26 14:42:33 -06:00
Matthew Flatt
e71bd71035 enable futures by default on Mac OS X and Linux x86/x86_64; future docs to ref and guide
svn: r18396
2010-02-28 22:06:59 +00:00
Matthew Flatt
05113c4a8f doc typos and guarantee on thread-dead-evt result
svn: r14825
2009-05-15 08:53:05 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Matthew Flatt
077e5a4666 change reference and some other docs to use #f instead of false/c and or/c insteda of one-of/c
svn: r12023
2008-10-13 19:45:37 +00:00
Matthew Flatt
4092392e5a adjust Scribble para/div style handling
svn: r10910
2008-07-25 13:16:06 +00:00
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Matthew Flatt
06326b340b thread-rewind-receive (3.99.0.21)
svn: r9088
2008-03-26 02:20:50 +00:00
Matthew Flatt
2834b00b7e refine failure handling of thread-send
svn: r9012
2008-03-18 02:16:06 +00:00
Matthew Flatt
c58820e30d vyzo's thread mailboxes (3.99.0.19)
svn: r9010
2008-03-18 00:38:36 +00:00
Eli Barzilay
264af9a6d0 improved scribble syntax use
svn: r8720
2008-02-19 12:22:45 +00:00
Matthew Flatt
9e70499c8c remove all the bous exported-from annotations in the reference
svn: r7739
2007-11-15 18:14:59 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Matthew Flatt
e4cbc4e6a9 371.2
svn: r7263
2007-09-02 17:39:32 +00:00
Matthew Flatt
4dca3a9cf3 doc work on reference
svn: r6879
2007-07-10 02:49:44 +00:00
Matthew Flatt
560eb67217 doc work, especially threads and continuations reference
svn: r6786
2007-07-02 02:02:10 +00:00
Eli Barzilay
2974f38f31 removed spaces at eolns to make new-reader-diffs easier to follow
svn: r6763
2007-06-29 05:58:56 +00:00
Matthew Flatt
23158078f3 start porring docs on exn, threads, and custodians
svn: r6746
2007-06-27 03:47:55 +00:00