I think I know when to use one and when to use the other, but the
extra clarification doesn't hurt. However, what happens if you get it
wrong? use send where you should have used send-off, and visa versa? I
would like to know what they do differently.

On 15 jan, 13:12, "Stephen C. Gilardi" <squee...@mac.com> wrote:
> On Jan 15, 2009, at 2:57 AM, bOR_ wrote:
>
> > That is, if I understand blocking correctly. Currently assuming that
> > blocking only happens when two things would like to write the same
> > ref?
>
> Blocking in this case refers to this definition:
>
> http://en.wikipedia.org/wiki/Blocking_(computing)
>
> You should use "send-off" if any of the operations in the action may  
> cause the the thread it runs in to "block" (sleep) while waiting for  
> something. That something is often I/O completion, but a thread can  
> also block waiting to acquire a lock, or waiting for a time interval  
> to elapse.
>
> If anything in the action requires waiting, use send-off, otherwise  
> use send.
>
> --Steve
>
>  smime.p7s
> 3KWeergevenDownloaden
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to