diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-12-10 19:59:02 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-12-10 19:59:02 +0800 |
commit | 8e8d89d15b43e45252a45978f877d7760b79ff65 (patch) | |
tree | e2a81c23a88befd4ca881c6ea55330a4df7e4d28 | |
parent | cc4e3f2acde90e3b4d82682da42ef66b19d25f80 (diff) | |
download | pttbbs-8e8d89d15b43e45252a45978f877d7760b79ff65.tar pttbbs-8e8d89d15b43e45252a45978f877d7760b79ff65.tar.gz pttbbs-8e8d89d15b43e45252a45978f877d7760b79ff65.tar.bz2 pttbbs-8e8d89d15b43e45252a45978f877d7760b79ff65.tar.lz pttbbs-8e8d89d15b43e45252a45978f877d7760b79ff65.tar.xz pttbbs-8e8d89d15b43e45252a45978f877d7760b79ff65.tar.zst pttbbs-8e8d89d15b43e45252a45978f877d7760b79ff65.zip |
after setup_utmp(), renice to +5.
to let system faver the processes which are listening or setup_utmp()ing
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/mbbsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 0f2cd58f..9cfb91d2 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.59 2002/11/16 13:41:07 kcwu Exp $ */ +/* $Id: mbbsd.c,v 1.60 2002/12/10 11:59:02 in2 Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -745,6 +745,7 @@ setup_utmp(int mode) getnewutmpent(&uinfo); #ifndef _BBS_UTIL_C_ friend_load(); + nice(3); #endif } |