Re: fork() and progress bar...



In message <3B9809AA 3050307 redhat com>you write:
>
>> i do not understand why, when there is a decent, cross-platform API
>> for threads (P.1003 aka PThreads), people want to wrap that in yet
>> another decent cross-platform API.
>
>The same reason "our" hello world programs look different.  To each his own.

no, its not the same reason at all. gthreads doesn't wrap P.1003 with
a "different feel". it just renames the P.1003 functions. it doesn't
use a different model. it just uses the same one provided by
P.1003. so what's it for? presumably the argument is to handle
situations where pthreads is not available and thus a consistent
wrapper for whatever thread library is there is required. fair
point. but what not wrap the native library in P.1003, instead of
gthreads? the work involved can't be noticeably different ...

--p




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]