Changeset 34574 in project


Ignore:
Timestamp:
09/18/17 23:18:47 (3 months ago)
Author:
kon
Message:

rel 1.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/thread-utils

    r28453 r34574  
    186186Does the state token of the {{THREAD}} equal the supplied {{TOKEN}}.
    187187
    188 ==== thread-blocked?/termination
    189 ==== thread-blocked?/io
    190 ==== thread-blocked?/timeout
    191 
    192 <procedure>(thread-blocked?/termination THREAD) => boolean</procedure>
    193 <procedure>(thread-blocked?/io THREAD) => boolean</procedure>
    194 <procedure>(thread-blocked?/timeout THREAD) => boolean</procedure>
     188==== thread-blocked-for-termination?
     189
     190<procedure>(thread-blocked-for-termination? THREAD) => boolean</procedure>?
     191
     192==== thread-blocked-for-io?
     193
     194<procedure>(thread-blocked-for-io? THREAD) => boolean</procedure>?
     195
     196==== thread-blocked-for-timeout?
     197
     198<procedure>(thread-blocked-for-timeout? THREAD) => boolean</procedure>?
    195199
    196200Is the {{THREAD}} in the indicated blocking state?
     
    205209for any other reason are ignored.
    206210
     211==== thread-thunk
     212
     213<procedure>(thread-thunk THREAD) => procedure</procedure>
     214
     215==== thread-result-list
     216
     217<procedure>(thread-result-list THREAD) => (or #f list)</procedure>
     218
     219==== thread-block-timeout
     220
     221<procedure>(thread-block-timeout THREAD) => (or #f float)</procedure>
     222
     223==== thread-state-buffer
     224
     225<procedure>(thread-state-buffer THREAD) => state-buffer</procedure>
     226
     227Returns the {{THREAD}}'s {{STATE-BUFFER}}.
     228
     229==== thread-end-exception
     230
     231<procedure>(thread-end-exception THREAD) => *</procedure>
     232
     233==== thread-owned-mutexes
     234
     235<procedure>(thread-owned-mutexes THREAD) => list</procedure>
     236
     237==== thread-block-object
     238
     239<procedure>(thread-block-object THREAD) => *</procedure>
     240
     241==== thread-recipients
     242
     243<procedure>(thread-recipients THREAD) => list</procedure>
     244
     245==== thread-block-object-of-recipient?
     246
     247<procedure>(thread-block-object-of-recipient? THREAD) => boolean</procedure>
     248
     249Is {{THREAD}} a recipient of itself?
     250
     251==== thread-dynamic-winds
     252
     253<procedure>(thread-dynamic-winds THREAD) => list</procedure>
     254
     255==== thread-standard-input
     256
     257<procedure>(thread-standard-input THREAD) => port</procedure>
     258
     259==== thread-standard-output
     260
     261<procedure>(thread-standard-output THREAD) => port</procedure>
     262
     263==== thread-standard-error
     264
     265<procedure>(thread-standard-error THREAD) => port</procedure>
     266
     267==== thread-default-exception-handler
     268
     269<procedure>(thread-default-exception-handler THREAD) => procedure</procedure>
     270
     271==== thread-current-parameter-vector
     272
     273<procedure>(thread-current-parameter-vector THREAD) => vector</procedure>
     274
    207275
    208276== Bugs & Limitations
    209277
    210 - {{thread-reaper-timeout}} & {{thread-reaper-retries}} are poorly named.
     278* {{thread-reaper-timeout}} & {{thread-reaper-retries}} are poorly named.
    211279
    212280
     
    223291[[record-variants]]
    224292[[check-errors]]
     293[[setup-helper]]
    225294
    226295
     
    232301== Version history
    233302
     303; 1.1.0 : Add {{thread-...}} & {{*thread-...}} getters. Deprecated {{thread-blocked?/...}}. Added {{thread-blocked-for...?}}.
    234304; 1.0.2 : "Fix" for ticket #981. Added {{thread-reaper-wait-seconds}}.
    235305; 1.0.1 : Use compiled setup-helper (& un-hide).
     
    239309== License
    240310
    241 Copyright (C) 2010 Kon Lovett.  All rights reserved.
     311Copyright (C) 2010-2017 Kon Lovett.  All rights reserved.
    242312
    243313Permission is hereby granted, free of charge, to any person obtaining a
Note: See TracChangeset for help on using the changeset viewer.