U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » MT/Locking Questions
Re: MT/Locking Questions [message #15540 is a reply to message #15536] Mon, 28 April 2008 22:10 Go to previous messageGo to previous message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
mr_ped wrote on Mon, 28 April 2008 14:57

For static variables you need a static lock probably?
So it will be shared between instances of the class.


You mean declare the lock static?
Ie. "static Mutex lock;"
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to send broadcast
Next Topic: PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP not defined
Goto Forum:
  


Current Time: Mon Jun 15 04:56:52 GMT+2 2026

Total time taken to generate the page: 0.00668 seconds