From: Eric B. <er...@ba...> - 2003-03-31 16:37:29
|
Barney, If I read you right... 1/ There are only 2 types of events; START and END. 2/ I can disable either or both types via the MD options PTL_MD_DISABLE_START_EVENT or PTL_MD_DISABLE_END_EVENT 3/ The event tells me (somehow) if the MD is now inactive and/or has been unlinked. ...then I'm a happy chappie :) BTW, is it only OK to specify PTL_EQ_NONE if both PTL_MD_DISABLE_START_EVENT and PTL_MD_DISABLE_END_EVENT are present? Also, I guess half of (3) can be inferred by looking at the MD in the event... inactive = (threshold == 0 || ((options & PTL_MD_MAX_SIZE) != 0 && (offset > length - max_size))) ...but I need to remember if 'unlink_op' was set on the attach to infer that it was automatically unlinked. I can live with that... Cheers, Eric ---------------------------------------------------- |Eric Barton Barton Software | |9 York Gardens Tel: +44 (117) 330 1575 | |Clifton Mobile: +44 (7909) 680 356 | |Bristol BS8 4LL Fax: call first | |United Kingdom E-Mail: er...@ba...| ---------------------------------------------------- |