From owner-freebsd-bugs Fri Oct 16 11:10:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06563 for freebsd-bugs-outgoing; Fri, 16 Oct 1998 11:10:15 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06491 for ; Fri, 16 Oct 1998 11:10:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA10231; Fri, 16 Oct 1998 11:10:01 -0700 (PDT) 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 ; 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 X-Send-Pr-Version: 3.2 Subject: kern/8343: the "poll()" function is absent in threaded libs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8343 >Category: kern >Synopsis: the "poll()" function is absent in threaded libs >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 16 11:10:01 PDT 1998 >Last-Modified: >Originator: Vladimir Butenko >Organization: Stalker Software, Inc >Release: FreeBSD 3.0-19980804-SNAP i386 >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: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message