Revision 1228 branches/threaded2merge/tests/threads/msimple/tests_adthread_manager.cpp

tests_adthread_manager.cpp (revision 1228)
141 141
pthread_mutex_t lflag_mutex = PTHREAD_MUTEX_INITIALIZER;
142 142
void* test_read_lock_buffer(void* ptr)
143 143
{
144
  //gradient_structure gs(30000000);
144 145
  //ad_comm::pthread_manager->write_lock_buffer(0);
145 146
  //ad_comm::pthread_manager->write_unlock_buffer(0);
146 147
  pthread_mutex_lock(&lflag_mutex);

Also available in: Unified diff