Version 0.61

- reduce per thread stack from 8MB to 64kB (strange pthread_create() defaults..)
This commit is contained in:
Olaf Rempel 2006-02-02 16:48:33 +01:00
parent 90d33bffbf
commit ddc42a0968
4 changed files with 22 additions and 15 deletions

View File

@ -1,3 +1,6 @@
* Sun 05 June 2005 Olaf Rempel <razzor@kopf-tisch.de> 0.61
- reduce per thread stack from 8MB to 64kB (strange pthread_create() defaults..)
* Sun 15 May 2005 Olaf Rempel <razzor@kopf-tisch.de> 0.60 * Sun 15 May 2005 Olaf Rempel <razzor@kopf-tisch.de> 0.60
- added receive-queue - added receive-queue
- changed plugin_helper api from void* to uint offsets - changed plugin_helper api from void* to uint offsets

20
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for hlswmaster 0.60. # Generated by GNU Autoconf 2.59 for hlswmaster 0.61.
# #
# Report bugs to <Olaf Rempel <razzor@kopf-tisch.de>>. # Report bugs to <Olaf Rempel <razzor@kopf-tisch.de>>.
# #
@ -423,8 +423,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='hlswmaster' PACKAGE_NAME='hlswmaster'
PACKAGE_TARNAME='hlswmaster' PACKAGE_TARNAME='hlswmaster'
PACKAGE_VERSION='0.60' PACKAGE_VERSION='0.61'
PACKAGE_STRING='hlswmaster 0.60' PACKAGE_STRING='hlswmaster 0.61'
PACKAGE_BUGREPORT='Olaf Rempel <razzor@kopf-tisch.de>' PACKAGE_BUGREPORT='Olaf Rempel <razzor@kopf-tisch.de>'
# Factoring default headers for most tests. # Factoring default headers for most tests.
@ -953,7 +953,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures hlswmaster 0.60 to adapt to many kinds of systems. \`configure' configures hlswmaster 0.61 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1019,7 +1019,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of hlswmaster 0.60:";; short | recursive ) echo "Configuration of hlswmaster 0.61:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1160,7 +1160,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
hlswmaster configure 0.60 hlswmaster configure 0.61
generated by GNU Autoconf 2.59 generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2003 Free Software Foundation, Inc.
@ -1174,7 +1174,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by hlswmaster $as_me 0.60, which was It was created by hlswmaster $as_me 0.61, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@ $ $0 $@
@ -1818,7 +1818,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE=hlswmaster PACKAGE=hlswmaster
VERSION=0.60 VERSION=0.61
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -21419,7 +21419,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by hlswmaster $as_me 0.60, which was This file was extended by hlswmaster $as_me 0.61, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -21482,7 +21482,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
hlswmaster config.status 0.60 hlswmaster config.status 0.61
configured by $0, generated by GNU Autoconf 2.59, configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

View File

@ -1,8 +1,8 @@
dnl projekname, version, bugsto dnl projekname, version, bugsto
AC_INIT(hlswmaster, 0.60, [Olaf Rempel <razzor@kopf-tisch.de>]) AC_INIT(hlswmaster, 0.61, [Olaf Rempel <razzor@kopf-tisch.de>])
dnl same for automake dnl same for automake
AM_INIT_AUTOMAKE(hlswmaster, 0.60) AM_INIT_AUTOMAKE(hlswmaster, 0.61)
dnl do not rebuild configure dnl do not rebuild configure
AM_MAINTAINER_MODE AM_MAINTAINER_MODE

View File

@ -40,6 +40,7 @@ static struct option opts[] = {
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
pthread_t thread1, thread2, thread3; pthread_t thread1, thread2, thread3;
pthread_attr_t attr;
int arg = 0, code = 0, debug = 0; int arg = 0, code = 0, debug = 0;
char *config = NULL, *user = NULL, *logfile; char *config = NULL, *user = NULL, *logfile;
@ -118,9 +119,12 @@ int main(int argc, char *argv[])
plugin_load_all(); plugin_load_all();
/* startup threads */ /* startup threads */
pthread_create(&thread1, NULL, (void *)&scan_control, NULL); pthread_attr_init(&attr);
pthread_create(&thread2, NULL, (void *)&scan_receive, NULL); pthread_attr_setstacksize(&attr, 65536);
pthread_create(&thread3, NULL, (void *)&client_handler, NULL);
pthread_create(&thread1, &attr, (void *)&scan_control, NULL);
pthread_create(&thread2, &attr, (void *)&scan_receive, NULL);
pthread_create(&thread3, &attr, (void *)&client_handler, NULL);
/* wait untill d00msday */ /* wait untill d00msday */
while (1) while (1)