From butenko@gw-msu.gamma.ru  Fri Oct 16 11:06:38 1998
Received: from gw-msu.gamma.ru ([193.232.127.38])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05691
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Oct 1998 11:06:25 -0700 (PDT)
          (envelope-from butenko@gw-msu.gamma.ru)
Received: (from butenko@localhost)
	by gw-msu.gamma.ru (8.8.8/8.8.8) id WAA04730;
	Fri, 16 Oct 1998 22:06:01 +0400 (MSD)
	(envelope-from butenko)
Message-Id: <199810161806.WAA04730@gw-msu.gamma.ru>
Date: Fri, 16 Oct 1998 22:06:01 +0400 (MSD)
From: butenko@stalker.com
Reply-To: butenko@stalker.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: the "poll()" function is absent in threaded libs 
X-Send-Pr-Version: 3.2

>Number:         8343
>Category:       kern
>Synopsis:       the "poll()" function is absent in threaded libs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 16 11:10:01 PDT 1998
>Closed-Date:    Sun Dec 13 15:08:09 PST 1998
>Last-Modified:  Sun Dec 13 15:08:48 PST 1998
>Originator:     Vladimir Butenko
>Release:        FreeBSD 3.0-19980804-SNAP i386
>Organization:
Stalker Software, Inc
>Environment:

	

>Description:
When using the "poll()" function in multithreaded programs,
compilations finish fine, but attemps to build the programs
fail with the following diagnostics:
../sources/Foundation/STSockets.cpp:242: Undefined symbol `_poll' referenced fro
m text segment
gmake: *** [CGServer] Error 1

Also, it would be fine if can implement the pwrite/pread functions:
without them, a multithreaded application has to use an additional mutex
for every shared FD, so it can correctly use the lseek/write lseek/read
operatations.

>How-To-Repeat:

	

>Fix:
	
	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Dec 13 15:08:09 PST 1998 
State-Changed-Why:  
See PR #8011 for a set of patches that implement pread/pwrite. 
>Unformatted:
