HP OpenVMS Systems

ask the wizard
Content starts here

DECthreads and callable MAIL$ API?

» close window

The Question is:

 
Is there any known problems using MAIL$ calls
from PTHREADs threadS?  I have a function which
uses MAIL$ routines to mail a file to a list of
address.  This function works perfectly well
under most circumstances, however, when called
from a thread created by pthread_create_thread() the program crashes with
%SYSTEM-F-ACCVIO.
Thanks for you help,
John Frank
 
 


The Answer is :

 
  The MAIL$ API is not considered to be thread-safe, nor AST-reentrant.
 

answer written or last revised on ( 4-NOV-1999 )

» close window