[DESPERATE!] Need POSIX Thread library for Windows!

Kalanyr

Explorer
Not sure where to put this thread, but I'm absolutely desperate I've coded a C program in Dev-C++, and I need to debug it and submit it in the next 24 hours, but Dev-C++ apparently doesn't recognise the included pthread.h, can someone help me ? I'm absolutely desperate.
 

log in or register to remove this ad



I'm assuming this is for homework, because if you're writing a multithreaded app for any other purpose, you'd want to use a native threading library (probably the one in the .NET framework, though you could use MFC or ATL/WTL), and using a garbage collected language with built in synchronization constructs is probably a good idea (C#, Java, VB 7 or later [aka VB.NET]). Getting multi-threaded code to work correctly is hard; there's no reason to create problems for yourself by using inapproriate tools.
 
Last edited:

Yeah, its an assignment, I'm not going to voluntarily use a Unix standard on a Windows machine. I can't think of a more inappropriate tool for anything than C *shudder* I'm only using it because I'm doing a computer science major and pretty much everything that software is built on is C-based so it pays to know it.

My laptop is a windows machine (haven't got around to setting up a dualboot Linux yet) but the marking is done in a Linux environment.

Thanks for the comments though.
 

Remove ads

Top