0 votes
in Education by (1.7m points)
i am trying to run a phtread program in visual studio 2010.

in this code there is "sys/times.h", " sys/time.h" and file unistd.h.

i face errors which listed as follow :

canot open source file sys/times.h

canot open source file sys/time.h

canot open source file unistd.h

can any body tell me is it possible to use this include file in windows visual studio??? if yes where can i find them???if not and they cant be used in windows visual studio what is the equivalent of this headers?????

thanks

JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by (1.7m points)
There is an implementation of pthreads for Windows (Google for pthread-win32), but it looks like your program is written for a POSIX operating system rather than for Windows.

Your best bet is downloading Cygwin and compiling it there.
...