[drmaa-wg] Simultaneous waits on the same job id?

Rajic, Hrabri hrabri.rajic at intel.com
Fri Jun 23 15:52:50 CDT 2006


Good question.  There is no such provision in the spec.  One thread
would need to be the first ...

Hrabri


>-----Original Message-----
>From: owner-drmaa-wg at ggf.org [mailto:owner-drmaa-wg at ggf.org] On Behalf
Of
>Ed Baskerville
>Sent: Friday, June 23, 2006 3:32 PM
>To: DRMAA Working Group
>Subject: [drmaa-wg] Simultaneous waits on the same job id?
>
>With all the discussion of wait in multithreaded contexts, I thought
>I'd throw out another related question...
>
>Are multiple threads allowed to wait simultaneously on the same job
>id and get back results, or is it required that one of them gets back
>DRMAA_ERRNO_INVALID_JOB? That is, is it possible for the data to be
>reaped simultaneously for multiple waiting threads, or must only one
>of them be lucky enough to get the data back?
>
>For Xgrid, either way is straightforward to implement; obviously
>having the option of returning data to multiple simultaneous calls
>would be nice, but I want to get the semantics right.
>
>--Ed





More information about the drmaa-wg mailing list