Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › C++ Thread Synchronization
New Posts  All Forums:Forum Nav:

C++ Thread Synchronization

post #1 of 2
Thread Starter 
In my Systems class we touched on concurrency but did not discuss any synchronization methods other than mutexes and sephamores. The POSIX threads implementation of mutexes is unacceptably expensive for my current project, so I was wondering if anybody who has real coding experience could weigh in with some better thread sync methods. I was thinking about using signals, but I don't know how signals interact with threads as opposed to processes.

Any help will be greatly appreciated
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #2 of 2
Hi
Try the Boost Thread and / or Interprocess libraries
http://www.boost.org/doc/libs/1_35_0
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › C++ Thread Synchronization