Thanks for this code. I would like to see the nanosleep within
winpthread library. This has two advantages IMHO. First, we have
those pure posix-routines within on library. Additionally we can use
pthread-compatible breakable wait for it.
Btw I was thinking about implementing the nanosleep (an
于 2011-9-2 14:34, 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-cr
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
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
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
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
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