🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3305

C++ and Threads

#3305
From: Matthew Peters
Date: Wed, 06 Jan 1993 13:59
8 lines
756 bytes
I am currently writing a C++ program that is going to use a lot of Threads.  And
since the Threads will be using a lot of globel lists of data, what is the best
way to let only one thread read/write the list at a time?  I am using system
sems.  Is there anything else that would be better to use?  The reason why I ask
such a question is because I feel that I am going to run out of systems sems. 
In OS/2 2.0 is there any other type of semephores?  thanks
Matthew
/s
Technical Details
Message-ID: <726341759.AA00000@blkcat.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!blkcat!Uucp

Show Full Headers
Complete Article Headers
From: Matthew.Peters@f347.n109.z1.fidonet.org (Matthew Peters)
Sender: Uucp@blkcat.UUCP
Path: arc1-ca.pugleaf.net!sparky!uunet!blkcat!Uucp
Newsgroups: comp.os.os2.programmer
Subject: C++ and Threads
Message-ID: <726341759.AA00000@blkcat.UUCP>
Date: Wed, 06 Jan 1993 08:59:40 -0500
Lines: 9