funit-exec

FUNIT-EXEC(8)                     funit-exec                     FUNIT-EXEC(8)



NAME
       funit-exec - Slave program for frysk's JUnit tests

SYNOPSIS
       funit-exec [-N] {tid} {signal} {seconds} {program ...}


DESCRIPTION
       Creates the specified number of threads, sends the signal to thread
       tid, and then sleeps for seconds. Sending the signal SIGUSR1 to a
       thread will cause that thread to execute program using exec. Sending
       the signal SIGUSR2 will cause a random non-main thread to exec program


       This program is used by funit, as part of frysk's JUnit testsuite.


       -N     Number of threads to create (default none).


       tid    Thread ID to send signal to once all threads have been created.


       signal The signal to send to tid once all threads have been started.


       seconds
              Number of seconds to wait before the program exits.


       program ...
              Program to execute on receipt of SIGUSR1.


EXAMPLE
       Create a 32-bit process that, on receipt of SIGUSR1, will exec the
       64-bit funit-exit program.


              /usr/lib/frysk/funit-exec $$ 0 100 /usr/lib64/frysk/funit-exec 1

SEE ALSO
       frysk(1) funit(8) funit-child(8) funit-exec(8) funit-exit(8)
       funit-threads(8)


BUGS
       Report bugs to http://sources.redhat.com/frysk/ :
       http:/sources.redhat.com/frysk.




                                 14 April 2006                   FUNIT-EXEC(8)