Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1543

Re: SemCondvar version 1.1...

From Melzzzzz <mel@zzzzz.com>
Newsgroups comp.programming, comp.programming.threads
Subject Re: SemCondvar version 1.1...
Date 2013-06-14 02:56 +0200
Organization albasani.net
Message-ID <kpdpoa$2cd$4@news.albasani.net> (permalink)
References (3 earlier) <kpdn55$2cd$1@news.albasani.net> <51BA8B00.4010404@toto.net> <kpdnjp$2cd$2@news.albasani.net> <51BA8D56.9030906@toto.net> <kpdo4v$nk6$2@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On Thu, 13 Jun 2013 20:34:00 -0700
aminer <aminer@toto.net> wrote:

> 
> 
> 
> I am using a Critical Section and and manual reset Event.
> 
> I think that's fast enough.

Well,  on Linux, condition vars and semaphores are implemented
in terms of futex, http://en.wikipedia.org/wiki/Futex  (and spin locks,
I guess), as this is low level syscall.
Critical Section and Event, sounds like Windows. This is probably
implemented in Lazarus in terms of Linux constructs
(mutexes,condvars/semaphores).

Back to comp.programming.threads | Previous | NextPrevious in thread | Find similar


Thread

Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 01:47 +0200
  Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 02:12 +0200
    Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 02:20 +0200
      Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 02:40 +0200
      Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 02:56 +0200

csiph-web