[ OFF-TOPIC ] Core Dumps

From: David Klasinc (bigwhale@CAPYBARA.SK-PTTSC.LJ.EDUS.SI)
Date: 12/26/97


Banzai!

Ok, this will probably be the weirdest question on the list...
 How to force program to dump a core and continue working? Something like:

i = 0;
for (;;) {
  i++;
  if (i = 666 || i = 999) {
    dump_core();
    send_to_char(ch, "Mud has just dumped a core... How cute.");
  }
}


Is this possible?

And no, I'm still pretty much sane... :P As far as mud coder can be
sane... ;> *cackle*

David!
--------------

"To wildly go, where no whale has gone before!"

--------------


     +------------------------------------------------------------+
     | 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/08/00 PST