Branch: Tag:

1999-02-01

1999-02-01 02:47:18 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

all alignment problems solved (I hope)

Rev: src/Makefile.in:1.126
Rev: src/modules/Gdbm/gdbmmod.c:1.6
Rev: src/modules/Gmp/mpz_glue.c:1.37
Rev: src/modules/Gz/zlibmod.c:1.22
Rev: src/modules/Image/colors.c:1.8
Rev: src/modules/Image/colortable.c:1.47
Rev: src/modules/Image/font.c:1.42
Rev: src/modules/Image/image.c:1.110
Rev: src/modules/Msql/msqlmod.c:1.9
Rev: src/modules/Mysql/mysql.c:1.25
Rev: src/modules/Mysql/result.c:1.14
Rev: src/modules/Odbc/odbc.c:1.13
Rev: src/modules/Odbc/odbc_result.c:1.16
Rev: src/modules/Oracle/oracle.c:1.15
Rev: src/modules/Perl/perlmod.c:1.4
Rev: src/modules/Pipe/pipe.c:1.29
Rev: src/modules/Postgres/pgresult.c:1.9
Rev: src/modules/Postgres/postgres.c:1.11
Rev: src/modules/Regexp/glue.c:1.13
Rev: src/modules/Ssleay/ssleay.c:1.10
Rev: src/modules/Yp/yp.c:1.15
Rev: src/modules/_Charset/charsetmod.c:1.8
Rev: src/modules/_Charset/iso2022.c:1.3
Rev: src/modules/_Crypto/cast.c:1.5
Rev: src/modules/_Crypto/cbc.c:1.13
Rev: src/modules/_Crypto/crypto.c:1.26
Rev: src/modules/_Crypto/des.c:1.12
Rev: src/modules/_Crypto/idea.c:1.12
Rev: src/modules/_Crypto/md2.c:1.5
Rev: src/modules/_Crypto/md5.c:1.11
Rev: src/modules/_Crypto/pipe.c:1.13
Rev: src/modules/_Crypto/rc4.c:1.8
Rev: src/modules/_Crypto/sha.c:1.14
Rev: src/modules/_Image_TTF/image_ttf.c:1.9
Rev: src/modules/files/file.c:1.137
Rev: src/modules/files/socket.c:1.41
Rev: src/modules/spider/accesseddb.c:1.17
Rev: src/modules/spider/dumudp.c:1.42
Rev: src/modules/spider/xml.c:1.6
Rev: src/modules/system/nt.c:1.7
Rev: src/object.c:1.56
Rev: src/operators.c:1.45
Rev: src/pike_macros.h:1.11
Rev: src/program.c:1.108
Rev: src/program.h:1.49
Rev: src/security.c:1.8
Rev: src/signal_handler.c:1.102
Rev: src/stralloc.c:1.53
Rev: src/threads.c:1.87

1:   #include "global.h" - RCSID("$Id: threads.c,v 1.86 1999/01/21 09:15:19 hubbe Exp $"); + RCSID("$Id: threads.c,v 1.87 1999/02/01 02:41:50 hubbe Exp $");      int num_threads = 1;   int threads_disabled = 0;
990:    add_efun("thread_local",f_thread_local,"function(:object)",OPT_SIDE_EFFECT);       start_new_program(); -  add_storage(sizeof(struct mutex_storage)); +  ADD_STORAGE(struct mutex_storage);    add_function("lock",f_mutex_lock,"function(int|void:object)",0);    add_function("trylock",f_mutex_trylock,"function(int|void:object)",0);    set_init_callback(init_mutex_obj);
998:    end_class("mutex", 0);       start_new_program(); -  mutex_key_offset = add_storage(sizeof(struct key_storage)); +  mutex_key_offset = ADD_STORAGE(struct key_storage);    /* This is needed to allow the gc to find the possible circular reference.    * It also allows a process to take over ownership of a key.    */
1014:   #endif       start_new_program(); -  add_storage(sizeof(COND_T)); +  ADD_STORAGE(COND_T);    add_function("wait",f_cond_wait,"function(void|object:void)",0);    add_function("signal",f_cond_signal,"function(:void)",0);    add_function("broadcast",f_cond_broadcast,"function(:void)",0);
1034:    }       start_new_program(); -  add_storage(sizeof(struct thread_local)); +  ADD_STORAGE(struct thread_local);    add_function("get",f_thread_local_get,"function(:mixed)",0);    add_function("set",f_thread_local_set,"function(mixed:mixed)",0);    thread_local_prog=end_program();
1042:    fatal("Failed to initialize thread_local program!\n");       start_new_program(); -  add_storage(sizeof(struct thread_state)); +  ADD_STORAGE(struct thread_state);    thread_id_result_variable=simple_add_variable("result","mixed",0);    add_function("backtrace",f_thread_backtrace,"function(:array)",0);    add_function("wait",f_thread_id_result,"function(:mixed)",0);