Re: Site admins and shared objs...

From: George (greerga@CIRCLEMUD.ORG)
Date: 01/21/98


On Wed, 21 Jan 1998, Angus Mezick wrote:

>     1) can the site admins (esp for circlemud.org) please add links to the
>     archive for this mail list and to the DG scripts pages?  Circlemud.org
>     also needs a link to alex's page.  please please please please please

I already have them on the main page of 'http://www.van.ml.org'

>     2) Shared objects - on a unix system is it allowed to replace a shared
>     object without bringing down the mud if the functions in that object
>     are not called while the copy is taking place.  I am trying to think
>     of a way to hot swap in changes to non core object file while the mud
>     is running. (i.e. redit.c, spell_parser.c) a core file would be
>     comm.c, interpreter.c, db.c(?).

Try the 'dl' library.  I have a non-finished, non-working patch for it on
my projects page I (obviously) haven't finished.  It's called Dynamic ACMD
I think.

Otherwise, try 'man dlopen' and it'll tell you the functions and you can go
from there.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST