Re: [Mingw-w64-public] std::thread::sleep_for() question

2011-09-01 Thread Dongsheng Song
On Fri, Sep 2, 2011 at 14:22, JonY wrote: > Why not, the more code the merrier :) > [ 2011-09-02 Dongsheng Song : * misc/nanosleep.c: New. * testcases/t_nanosleep.c: New. ] New: mingw-w64-crt/misc/nanosleep.c mingw-w64-crt/testcases/t_nanosleep.c Please update mingw-w64-crt/Mak

Re: [Mingw-w64-public] std::thread::sleep_for() question

2011-09-01 Thread JonY
On 9/2/2011 12:33, Dongsheng Song wrote: > On Fri, Sep 2, 2011 at 11:56, Dongsheng Song wrote: >> >> On Thu, Sep 1, 2011 at 19:08, niXman wrote: >>> >>> Hi all! >>> Any ideas about the nanosleep() function? >>> Maybe it shoul be implemented into mingw-w64-crt ? >>> >> >> Same for me. >> My projec

Re: [Mingw-w64-public] std::thread::sleep_for() question

2011-09-01 Thread Dongsheng Song
On Fri, Sep 2, 2011 at 11:56, Dongsheng Song wrote: > > On Thu, Sep 1, 2011 at 19:08, niXman wrote: >> >> Hi all! >> Any ideas about the nanosleep() function? >> Maybe it shoul be implemented into mingw-w64-crt ? >> > > Same for me. > My project  clock_* too, I must implement myself: > int nanosl

Re: [Mingw-w64-public] std::thread::sleep_for() question

2011-09-01 Thread Dongsheng Song
On Thu, Sep 1, 2011 at 19:08, niXman wrote: > Hi all! > Any ideas about the nanosleep() function? > Maybe it shoul be implemented into mingw-w64-crt ? > > Same for me. My project clock_* too, I must implement myself: int nanosleep(const struct timespec *request, struct timespec *remain); int

Re: [Mingw-w64-public] [Mingw-users] enable std::thread experimental patch

2011-09-01 Thread Charles Wilson
Preface: this whole discussion REALLY boils down to: IANAL, YANAL, so nobody needs to listen to either one of us (but the folks who wrote the GPL FAQ *are* lawyers, so we should probably listen to them). Also, seek competent counsel and pay for your own analysis of the licenses, if this is a busine

[Mingw-w64-public] std::thread::sleep_for() question

2011-09-01 Thread niXman
Hi all! Any ideas about the nanosleep() function? Maybe it shoul be implemented into mingw-w64-crt ? I patched the thread file(file is attached). But, every time after building mingw, it is needed to replace the source file with my own, or to patch it, and to edit include/i686-pc-mingw32/bits/c++c

Re: [Mingw-w64-public] [Mingw-users] enable std::thread experimental patch

2011-09-01 Thread Prof Brian Ripley
On Wed, 31 Aug 2011, Charles Wilson wrote: > On 8/31/2011 5:39 PM, K. Frank wrote: >> Wasn't there also some licensing issue? I never understood the >> details, but I recall seeing warnings, perhaps on one of these >> lists, that the pthreads-win32 license was not as liberal as that >> of ming