Menu

#5 Judy 1.0.1 in Multi-threaded environment (read only)

v1.0 (example)
open
nobody
None
5
2005-07-13
2005-07-13
No

I tried using Judy in a multi-threaded environment. I am
not concerned about synchronization at this time. In my
architecture, I have one thread that preloads data
source into JudyL array. Afterwards i have multiple
worker thread trying to get data out of JudyL. It appears
that if I use JudyL array within the same thread
everything is working ok. However, when i cross thread
boundary, my program crashes on JLG macro call. I
debugged this a little further and determined that
offending statement is :
PWord_t P_L = (PWord_t )Array;

can someone assist?

I am using RH ES3 with GCC3.2.3 and Judy1.0.1

thanks

Alex

Discussion


Log in to post a comment.