[Spread-users] SP_join from different tread as SP_receive
John Schultz
jschultz at spreadconcepts.com
Fri Jun 15 16:01:02 EDT 2007
Spread is thread safe so long as you use the proper client library.
What version of Spread are you using? If you are using Spread 4, then the
library by default is thread safe. If you are using Spread 3, then make
sure you are using libtspread.a or libtspread.so (notice the 't' -- it
stands for Threadsafe).
Are you currently using a thread safe version of the client library?
I don't see any reason why what you are trying to do would not work (other
than not using a thread safe verison of the library).
Cheers!
---
John Schultz
Spread Concepts
Phn: 443 838 2200
On Fri, 15 Jun 2007, Alec H. Peterson wrote:
> Hi Mike,
>
> --On June 15, 2007 11:47:11 -0500 Mike Simon <msimon at sj2tech.com> wrote:
>
>> I just started using spread and am seeing that if SP_join's that are
>> performed on a different thread from SP_receive don't work. For example
>
> A mailbox isn't thread safe, you need a distinct one for each thread, or a
> mutex protecting it.
>
> Alec
>
>
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users
>
More information about the Spread-users
mailing list