[OpenAFS-devel] Solaris fixes for 1.4.x / AFS_SUN510_ENV

Mike Battersby mib@unimelb.edu.au
Thu, 31 Jan 2008 19:10:30 +1100


Derrick Brashear wrote:
 > which thread?

The process forked at afsd.c:2001.

>     code = fork();
>     if (code == 0) {
>         /* Child */
>         SET_RX_RTPRI();         /* max advised for non-interrupts */
>         call_syscall(AFSOP_RXLISTENER_DAEMON, preallocs, enable_peer_stats,
>                      enable_process_stats);
>         exit(1);
>     }

The afs_osi_Invisible call sets SSYS on this forked child which exits.
Bad idea.

 > where are we calling thread_create at all?

Where did I say you were?

  - Mike