Date: Fri, 9 Feb 2001 22:21:54 -0800 (PST) From: John Wilson <john_wilson100@excite.com> To: freebsd-hackers@freebsd.org Subject: operator new with C++ and pthreads Message-ID: <22547061.981786114631.JavaMail.imail@pugsly.excite.com>
next in thread | raw e-mail | index | archive | help
Hello, fellow hackers, I have written my own little memory management system optimized for the needs of a multi-threaded server written in C++. I have defined my own inline void* operator new(size_t size) and inline void operator delete(void *ptr) but gcc (g++) doesn't seem to want to link them in, and uses its own __builtin_new and __builtin_delete instead. I'm using FreeBSD RELENG_4, and compile everything -pthread -static. Incidentally, the same application compiles and works correctly on NT/Win2K. :( John Wilson _______________________________________________________ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22547061.981786114631.JavaMail.imail>