Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #1535
| From | Melzzzzz <mel@zzzzz.com> |
|---|---|
| Newsgroups | comp.programming, comp.programming.threads |
| Subject | Re: SemCondvar version 1.1... |
| Date | 2013-06-14 02:12 +0200 |
| Organization | albasani.net |
| Message-ID | <kpdn55$2cd$1@news.albasani.net> (permalink) |
| References | <kpdl77$d8d$1@dont-email.me> <kpdllo$nra$21@news.albasani.net> <51BA8632.8050808@toto.net> |
Cross-posted to 2 groups.
On Thu, 13 Jun 2013 19:55:46 -0700 aminer <aminer@toto.net> wrote: > On 6/13/2013 4:47 PM, Melzzzzz wrote: > > On Thu, 13 Jun 2013 19:43:59 -0700 > > aminer <aminer@toto.net> wrote: > > > >> > >> Hello, > >> > >> I have updated SemaCondvar to version 1.1, now it supports ALL the > >> charateristics of a semaphore and a condition variable, > >> i have also corrected a bug. > >> > >> Description: SemaCondvar and SemaMonitor are new and portable > >> synchronization objects that combine all the characteristics of a > >> semaphore and a condition variable, they only use an event object > >> and a critical section, so they are fast. > > > > Portable to pascal, windows? > > > >> > >> > >> > >> > > > > > > > It's portable to Windows 32 , Windows 64 , Linux 32 and 64, MacOSX, > Sparc OSs and iOS, for this you have to compile it with Freepascal or > Delphi XE4. > bmaxa@maxa:~/examples/aminer$ fpc -CD SemaCondvar.pas Free Pascal Compiler version 2.6.0-9 [2013/04/16] for x86_64 Copyright (c) 1993-2011 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling SemaCondvar.pas SemaCondvar.pas(29,10) Error: Duplicate identifier "SYSTEM" SemaCondvar.pas(29,10) Fatal: Syntax error, ";" expected but "." found Fatal: Compilation aborted Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled) > If you want to port it to C++ , just read the Object pascal source > code and translate it to C++, that's not so difficult. Well, it is not useful to port it to C++. C would be much more useful, as all languages (including assembler) interface C easily. > > > Thank you, > Amine Moulay Ramdane. You are welcome ;) > > >
Back to comp.programming.threads | Previous | Next — Previous in thread | Next in thread | Find similar
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