[765] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

Please see

daemon@ATHENA.MIT.EDU (HBEDI.US.ORACLE.COM)
Mon May 4 19:33:41 1998

Date: 04 May 98 14:07:47 -0700
From: "HBEDI.US.ORACLE.COM" <HBEDI@us.oracle.com>
To: pthreads@MIT.EDU
Cc: HBEDI@us.oracle.com

Hi , 
 
 I am Harmeek , I am working with Oracle Development on Sequent DYNIX/PTX OS
 
.  
 
 Sequent does not have either Kernel threads nor any user level
implementation  
. 
 It does not have thread safe  or Reenterant libraries . 
  
 To make some  of the products work we need to have a user level
implementation 
 on Sequent . I was looking thru the MIT implementation to have a fair idea 
 of the Code . 
 
 I did have a couple of questions in this regard . I would appreciate if you
 
 could help me . 
 
 a) File fd_kern.c . Why is the function fd_kern_exec called to make  
    fd == fd[fd]->fd.i ? Why is  this nesessary during the exec call ? 
     
 b) After the fork if the parent closes it's descriptor's  
    the child should still be able to still see it . I looked at the  
    wrappers for exec , fork and fork_kern_exec . Where exactly it is  
    taken care of ? .  
 
 c) Since the MIT implemenation catches SIGCHLD , SIGALRM for waking up 
    threads on sleep and wait calls , any redirection by the Application 
    would cause undefined behaviour .? Is my understanding correct . 
 
  
 I would appreciate if you could help me in this regard . 
 
 Thanks for your time and patience . 
 
Regards 
Harmeek 
-------

home help back first fref pref prev next nref lref last post