Hello Paul,

Paul Grenyer wrote:
Were you able to use boost, time locked condition variables would allow you to do this.

Well since boost does wrap around pthreads/win32 threads I would expect that, if I would understand the mechanism better, I could write a similar functionality in C. I have tried to understand how to do this with the boost ScopedTimedLock concept (that is what you mean, right?) but I don't quite see how I could call a function in another thread with it. As far as I understand it, it's only a Mutex, that is, it grants exclusive access to a variable to a thread. Could you elaborate on how you would do this with boost like you say? Pardon my ignorance, I think I just don't 'get' the mechanism involved.


cheers,

roel


Regards
Paul

Paul Grenyer
Email: [EMAIL PROTECTED]
Web: http://www.paulgrenyer.co.uk

Have you met Aeryn: http://www.paulgrenyer.co.uk/aeryn/?
Version 0.3.0 beta now available for download.



_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.





Reply via email to