You are not logged in.
Pages: 1
Hi,
I am looking at building up some base classes on threading and locking objects (semaphore & mutexes). I came across information about Poxix calls (http://www.gnu.org/software/libc/manual … index.html), but I am more interested in the core kernel calls.
I am quite familiar with the Win32 API calls, but I can't seem to find anything on the Linux side. I spent some time looking through the glibc-threading stuff, but I finally threw up my hands.
Any help would be appreciated.
Offline
not sure, but did a little search
http://www.tldp.org/LDP/khg/HyperNews/get/khg.html
?>http://www.tldp.org/LDP/khg/HyperNews/get/syscall/syscall86.html
http://www.lxhp.in-berlin.de/lhpsysc0.html
http://www-106.ibm.com/developerworks/l … nside.html
http://www.win.tue.nl/~aeb/linux/vfs/trail.html
http://mirrors.kernel.org/LDP/
http://lwn.net/
http://kerneltrap.org
The impossible missions are the only ones which succeed.
Offline
Hi,
I am looking at building up some base classes on threading and locking objects (semaphore & mutexes). I came across information about Poxix calls (http://www.gnu.org/software/libc/manual … index.html), but I am more interested in the core kernel calls.
Any help would be appreciated.
Hi dekernel,
If you just intend to use wrapper classes that work both on Win32 and Linux, have a look at existing libraries, for example Common C++:
http://www.gnu.org/software/commoncpp/
AFAIK the CommonC++ API is close to Win32 regarding threads and locks.
Offline
dp
Thanks for the links, but most of those I have already visited. The one link (http://www.lxhp.in-berlin.de/lhpsysc0.html) was new to me so I found it useful.
zezaz
The wrapper classes that you suggested could be useful, but I need either something BSD-like licensed or something from scratch. I plan on going through the code for ideas, but they seem to use Posix calls. Yes, they will work and most likely I will use, but the one additional goals for me was to learn about the inner-workings of the kernel.
In the end, what I plan on doing is doing a webpage that does something like the following:
Win32 Linux
::CreateThread() ::clone()
::CreateEvent() ?????
::CreateSemaphore() ?????
and so-on. I think this will be quite useful for people like me that have extensive experience with Window, but wants to move over to Linux. I have to give the Devil their do, Microsoft does have a good set of docs on the API's. If you have installed and used the MSDN that comes with Visual Studio, you need to give it a try. In the end, I am hoping that I won't have to recommend using Qt because of time constraints, but it is a proven solution. Money is not as big of an issue versus time.
Offline
Pages: 1