Computer Chess Club Archives


Search

Terms

Messages

Subject: new operator not thread safe?

Author: James Robertson

Date: 22:00:31 10/07/02


I am writing a C++ program for one of my classes and the professor informed us
that we must use malloc/free instead of new/delete as new/delete are not thread
safe. The program is using POSIX threads. Can anyone confirm or deny that new
and delete are in fact no-nos in multithreading?

James



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.