This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Shared library loading, please help me
On Thu, Mar 10, 2005 at 11:02:49AM -0500, Ian Lance Taylor wrote:
[...]
> If you want to do hardware initialization in a shared library, and you
> want to do it only once, then you need to use some sort of IPC
> mechanism, such as semaphores, a server process, a file system lock,
> etc. This is a general Unix programming question, not a binutils
> question.
Not to mention that doing hardware init automatically in a library is
a bad idea to start with.
Regards,
--
Dominik 'Rathann' Mierzejewski <rathann*at*icm.edu.pl>
Interdisciplinary Centre for Mathematical and Computational Modelling
Warsaw University | http://www.icm.edu.pl | tel. +48 (22) 5540810