public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Need help with some seeming race conditions
@ 2002-10-25  7:39 Schuster, Joel (N-Compaq)
  0 siblings, 0 replies; only message in thread
From: Schuster, Joel (N-Compaq) @ 2002-10-25  7:39 UTC (permalink / raw)
  To: 'Pthreads-Win32 (E-mail)

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

I'm working on a thread pool with a tasking queuing mechanism. I have code
that I need someone to look at and help me figure out
what I am doing wrong. I need to guarantee that all tasks are completed
before program exit. So I'm joining at the end, and synchronously completing
any tasks in the queue that are not complete. For some reason I'm locking up
at the joins...

Here is the code, if anyone could please take a look I'd really appreciate
it. Also, just for grins, I'm using Mingw and the windows threadding right
now, I'm also going to port this to pthreads on win32 and solaris once I get
this working.

Thanks in advance...

Joel

_______________________
 <<Schuster, Joel (N-Compaq).vcf>>  <<threads.zip>> 

[-- Attachment #2: Schuster, Joel (N-Compaq).vcf --]
[-- Type: application/octet-stream, Size: 428 bytes --]

BEGIN:VCARD
VERSION:2.1
N:Schuster;Joel
FN:Schuster, Joel (N-Compaq)
ORG:Compaq
TEL;WORK;VOICE:719-277-5954
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;9970 Federal Drive=0D=0AColo Springs, CO 80921-3697=0D=0AMS/22D;;;80921;US
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:9970 Federal Drive=0D=0AColo Springs, CO 80921-3697=0D=0AMS/22D=0D=0A80921=
=0D=0AUS
EMAIL;PREF;INTERNET:joel.schuster@lmco.com
REV:20021008T183313Z
END:VCARD

[-- Attachment #3: threads.zip --]
[-- Type: application/x-zip, Size: 140251 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-25 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-25  7:39 Need help with some seeming race conditions Schuster, Joel (N-Compaq)

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).