* mutex implementation
@ 2001-08-21 21:56 Ye Liu
2001-08-23 1:01 ` Thomas Pfaff
0 siblings, 1 reply; 3+ messages in thread
From: Ye Liu @ 2001-08-21 21:56 UTC (permalink / raw)
To: win32-pthread
Greets,
When implementing mutex, why win32 mutex object is not used directly. I
posted the same question in comp.thread.programming group before, the
answer is not convincing. What about you insiders' opinion?
Regards,
--ye
--
Ye Liu
Tel(O) 650-846-5228
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mutex implementation
2001-08-21 21:56 mutex implementation Ye Liu
@ 2001-08-23 1:01 ` Thomas Pfaff
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Pfaff @ 2001-08-23 1:01 UTC (permalink / raw)
To: Ye Liu; +Cc: win32-pthread
On Wed, 22 Aug 2001, Ye Liu wrote:
> Greets,
>
> When implementing mutex, why win32 mutex object is not used directly. I
> posted the same question in comp.thread.programming group before, the
> answer is not convincing. What about you insiders' opinion?
>
> Regards,
>
> --ye
>
> --
> Ye Liu
> Tel(O) 650-846-5228
>
>
>
The current implementation is much faster under some circumstances. You
can compare it with a CriticalSection.
Greetings,
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: mutex implementation
@ 2001-08-23 6:21 Bossom, John
0 siblings, 0 replies; 3+ messages in thread
From: Bossom, John @ 2001-08-23 6:21 UTC (permalink / raw)
To: 'Ye Liu', win32-pthread
You will not be able to provide storage for any of the attribute settings
for pthread_mutex_init
nor be able to simulate any features....
Plus, you cannot decide to use Win32 CRITICAL_SECTION vs the Mutex Handle
-----Original Message-----
From: Ye Liu [ mailto:yliu@tibco.com ]
Sent: August 22, 2001 12:52 AM
To: win32-pthread
Subject: mutex implementation
Greets,
When implementing mutex, why win32 mutex object is not used directly. I
posted the same question in comp.thread.programming group before, the
answer is not convincing. What about you insiders' opinion?
Regards,
--ye
--
Ye Liu
Tel(O) 650-846-5228
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-08-23 6:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-21 21:56 mutex implementation Ye Liu
2001-08-23 1:01 ` Thomas Pfaff
2001-08-23 6:21 Bossom, John
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).