From owner-freebsd-questions Tue Jul 27 9: 9: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from houston.matchlogic.com (houston.matchlogic.com [205.216.147.127]) by hub.freebsd.org (Postfix) with ESMTP id EAC2014D61 for ; Tue, 27 Jul 1999 09:08:59 -0700 (PDT) (envelope-from crandall@matchlogic.com) Received: by houston.matchlogic.com with Internet Mail Service (5.5.2448.0) id ; Tue, 27 Jul 1999 10:08:15 -0600 Message-ID: <64003B21ECCAD11185C500805F31EC030378659E@houston.matchlogic.com> From: Charles Randall To: questions@freebsd.org Subject: POSIX semaphores (RE: urgent ... ) Date: Tue, 27 Jul 1999 10:08:13 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You may find that a more specific subject may help. In the meantime, read these posts archived at DejaNews: http://www.deja.com/dnquery.xp?DBS=2 &QRY=sem_init+freebsd&svcclass=dnserver Additionally, you can search the mailing list archives for -questions and -hackers for "posix semaphore". http://www.freebsd.org/search/search.html http://www.freebsd.org/cgi/search.cgi?words=posix+semaphore &max=25&sort=score&source=freebsd-questions&source=freebsd-hackers FYI, Charles -----Original Message----- From: Geeta Mahesh [mailto:ugtech@bom3.vsnl.net.in] Sent: Tuesday, July 27, 1999 8:39 AM To: questions@freebsd.org Subject: urgent ... Hi, I have an application that uses semaphores for thread synchronization. I am using g++ 2.7.2.1 on FreeBSD 3.2. The application cannot resolve the semaphore functions sem_init, sem_destroy ... which are POSIX complient. Can you tell me if which library I need to link my application with. Also, I am using namespaces in my application - which is not supported by g++2.7.2.1 What should I do to make my g++ support namespaces. Is there any workaround for this? Please let me know. Thanks . Regards Geeta. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message