Am 18.09.14 18:33, schrieb Maurizio Martignano:
> I still do not quite understand/explain why the nsthread module is so
> different between Aolserver and Naviserver. And again as the two pieces of
> software are implemented at the moment, the Aolserver version seems to be
> more portable.
not sure,
-Original Message-
From: Gustaf Neumann [mailto:neum...@wu.ac.at]
Sent: 18 September 2014 13:51
To: naviserver-devel@lists.sourceforge.net
Subject: Re: [naviserver-devel] pid_t missing on Windows
historically, unix used "int" for pids. the open group / ieee standard
defines pid_t [1],
historically, unix used "int" for pids. the open group / ieee
standard defines pid_t [1], which is used e.g. for fork(), getpid(),
kill() etc.
on linux, mac os x etc. Therefore, the use of pid_t instead of "int"
is a good thing, especially, since pids are passed around as
arguments and returned
,
Maurizio
-Original Message-
From: Andrew Piskorski [mailto:a...@piskorski.com]
Sent: 18 September 2014 01:26
To: naviserver-devel@lists.sourceforge.net
Subject: [naviserver-devel] pid_t missing on Windows
On Windows with the VC 2012 compiler I get this error, which seems to then
break a lot
On Windows with the VC 2012 compiler I get this error, which seems to
then break a lot of other important stuff downstream:
thread.c(55) : error C2061: syntax error : identifier 'pid_t'
Is pid_t defined anywhere for Windows? AFAICT it is not. Adding this
in an appropriate spot in nsthread.h m