Article View: comp.os.os2.programmer
Article #660Thread support under C++, shared address space
From: Bill Tracey
Date: Fri, 10 Apr 1992 11:47
Date: Fri, 10 Apr 1992 11:47
24 lines
1541 bytes
1541 bytes
In <1992Apr9.220130.54363@cc.usu.edu> slhpv@cc.usu.edu writes: > >Could anyone tell me how well OS/2 threads are supported by various >compilers, and to what level the threads do data/code sharing? > Threads under OS/2 share data and code quite well. Under OS/2 all threads within a process (a process is composed of one or more threads) share the same address space, so any data within the process is accessible by all threads in the process. Code is shared by all process in the system using the code. >I need to use C++ with real good built in support for concurrent >processes (semaphores, moniters, etc.) as well as shared address space >and was wondering how well OS/2 2.0 will compete in this area. > I do not know what built in support the C++ compilers out there will have for semaphores etc, but the OS/2 API (Application Programming Interfaces) has full support for semaphores and shared memory areas. The OS/2 API functions should be easily callable from a C++ program. Hope this helps, Bill Tracey
Technical Details
Message-ID:
<9204101212.AA17402@mammoth.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!sparky!news.UU.NET!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!VNET.IBM.COM!wtraceyReferences:
<1992Apr9.220130.54363@cc.usu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!VNET.IBM.COM!wtracey From: wtracey@VNET.IBM.COM (Bill Tracey) Newsgroups: comp.os.os2.programmer Subject: Thread support under C++, shared address space Message-ID: <9204101212.AA17402@mammoth.Berkeley.EDU> Date: 10 Apr 92 11:47:54 GMT References: <1992Apr9.220130.54363@cc.usu.edu> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: wtracey@vnet.ibm.com Organization: IBM - Bethesda MD. Lines: 24