Multi threaded Argus

Neil Long neil.long at computing-services.oxford.ac.uk
Wed Jul 12 11:54:41 EDT 2000


On Jul 12,  8:51am, David Brumley wrote:
> Subject: Re: Multi threaded Argus
> > Gentle People,
> >    My intentions are to make Argus-2.0 multi-threaded.
> > Is this a problem with Linux or FreeBSD out of the box?
> 
> RedHat 6.0 seems to support pthreads out of the box.  
> 
> Isn't solaris gonna screw this up since they don't use pthreads?
> 
> -david
> 
>-- End of excerpt from David Brumley

Well it does at Solaris 2.6

from man libpthread

SYNOPSIS
  POSIX
     cc [ flag ... ] file ...  -lpthread [  -lposix4
          library ... ]
     #include <pthread.h>

  Solaris
     cc [ flag ... ] file ...  -lthread [ library ... ]
     #include <thread.h>
     #include <sched.h>

DESCRIPTION
     Two threads libraries  are  available,  POSIX  and  Solaris.
     Both  implementations are interoperable, their functionality
     similar, and can be used within the same application.   How-
     ever, only POSIX threads are guaranteed to be fully portable
     to other POSIX-compliant environments.  As indicated by  the
     "Synopsis"  section  above,  their  use  requires  different
     source include files and different linking libraries.



neil

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Dr Neil J Long, Computing Services, University of Oxford
 13 Banbury Road, Oxford, OX2 6NN, UK Tel:+44 1865 273232 Fax:+44 1865 273275
 EMail:       Neil.Long at computing-services.oxford.ac.uk  
 PGP:    ID 0xE88EF71F    OxCERT: oxcert at ox.ac.uk PGP: ID 0x4B11561D



More information about the argus mailing list