|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
D - pthreads-win32 anyone?
In testing and debugging UNIXSTL (http://unixstl.org/) and recls (http://recls.org/) and some D libraries - MmFile ExeLoader - I often prefer to remain in the comfort of my anachronistic Visual Studio 98, and to help me in this regard I use two UNIX emulation libraries. The first of these, unixem (http://synesis.com.au/software/index.html#unixem) is a very simple little set of mappings over Win32, for mmap(), opendir(), glob() and some others, that I wrote for this purpose. It's not industry strength, but for dev/test it's more than adequate (or has been so far, at least). The second is the wonderful GNU pthreads-win32 project (http://sources.redhat.com/pthreads-win32/), which is very much a serious effort, and worth the time of anyone who is trying to develop cross-platform multi-threaded code. The purpose of this post is to see what people would think about our using pthreads-win32 to abstract all (current) platforms to a PTHREADS interface, and thereby ease the effort of writing the threaded support for the language, and for the libraries that explicitly address threading? Let me know your thoughts. Cheers Matthew Apr 25 2004
Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit Matthew wrote:In testing and debugging UNIXSTL (http://unixstl.org/) and recls (http://recls.org/) and some D libraries - MmFile ExeLoader - I often prefer to remain in the comfort of my anachronistic Visual Studio 98, and to help me in this regard I use two UNIX emulation libraries. The first of these, unixem (http://synesis.com.au/software/index.html#unixem) is a very simple little set of mappings over Win32, for mmap(), opendir(), glob() and some others, that I wrote for this purpose. It's not industry strength, but for dev/test it's more than adequate (or has been so far, at least). The second is the wonderful GNU pthreads-win32 project (http://sources.redhat.com/pthreads-win32/), which is very much a serious effort, and worth the time of anyone who is trying to develop cross-platform multi-threaded code. The purpose of this post is to see what people would think about our using pthreads-win32 to abstract all (current) platforms to a PTHREADS interface, and thereby ease the effort of writing the threaded support for the language, and for the libraries that explicitly address threading? Let me know your thoughts. Cheers Matthew Apr 25 2004
I have used pthread to port Linux app with MinGW and has problem at pthread_yield() and with thread event handling . But if an interface can abstracted the pthread win32 , it's great . The portable is the best . "Matthew" <matthew.hat stlsoft.dot.org> wrote in message news:c6gd04$1odv$1 digitaldaemon.com...In testing and debugging UNIXSTL (http://unixstl.org/) and recls (http://recls.org/) and some D libraries - MmFile ExeLoader - I often Apr 26 2004
|