[CODE] Splitting off a seperate process?

From: Pure Krome (spam@world-domination.com.au)
Date: 06/07/01


G'day All

I have some code that kicks in when a person 1) Connects, 2) Quits / DC'd, /
LD, etc....

Part of the code includes writing something to a file (yes, each time the
function is called).

This is sorta lagging the mud a bit.
Especially when it's trying to write the contents of one of the linked lists
to a file, and the linked list contains easily 100+ structures over time....


What i was hoping to do, was to call that function as a seperate process? Is
this forking?  If so, can i do this function completly seperate from the game
loop so it doesn't effect the game?

Thank you kindly folks.

-PK-
-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
Everan Roseblade                              Everan@EternalVisions.com
Eternal Visions Mud   eternalvisions.com:1200    www.eternalvisions.com
-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST