ok, I need a to create a thread that will runs along side or inside
the daemon thread that does nothing but check 3 buffers, then have a
global lock, so the functions know when to return the values or when
to wait for the memcache thread to finish processing. 

So I would need to create a struct that would hold all the elements
that would make a queue. type of request(get, or set), keynames,
keydata(if set request), and also number of elements ie keys.

Also have a global lock, so the requesting functions will run in order
with the queue processing and won't run ahead of each other. Wow.

I think I am going to finish my little learning project that I am on
now and think more about the above. The above is really the right way
todo it, eh? Thanks for your help Paul. 
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to