1. 23 Dec, 2004 1 commit
  2. 15 Dec, 2004 1 commit
    • Jan Djärv's avatar
      * syssignal.h: Declare main_thread. · 333f1b6f
      Jan Djärv authored
      (SIGNAL_THREAD_CHECK): New macro.
      
      * keyboard.c (input_available_signal): Move thread checking code
      to macro SIGNAL_THREAD_CHECK and call that macro.
      (interrupt_signal): Call SIGNAL_THREAD_CHECK.
      
      * alloc.c (uninterrupt_malloc): Move main_thread to emacs.c.
      
      * emacs.c: Define main_thread.
      (main): Initialize main_thread.
      (handle_USR1_signal, handle_USR2_signal, fatal_error_signal)
      (memory_warning_signal): Call SIGNAL_THREAD_CHECK.
      
      * floatfns.c (float_error): Call SIGNAL_THREAD_CHECK.
      
      * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK.
      
      * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK.
      
      * process.c (send_process_trap, sigchld_handler): Call
      SIGNAL_THREAD_CHECK.
      
      * data.c (arith_error): Call SIGNAL_THREAD_CHECK.
      
      * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK.
      333f1b6f
  3. 11 Dec, 2004 1 commit
  4. 07 Dec, 2004 2 commits
    • Jan Djärv's avatar
      * emacs.c (Fdump_emacs): Add ! defined (SYSTEM_MALLOC) around · cf435f39
      Jan Djärv authored
      reset_malloc_hooks.
      
      * keyboard.c (handle_async_input, input_available_signal): Add
      ! defined (SYSTEM_MALLOC) around thread code.
      cf435f39
    • Jan Djärv's avatar
      * gtkutil.c: Include signal.h and syssignal.h. · aa477689
      Jan Djärv authored
      (xg_get_file_name): Block and unblock __SIGRTMIN if defined.
      
      * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h,
      new variables main_thread and alloc_mutex,
      define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect
      emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread.
      If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same as
      (UN)BLOCK_INPUT.
      (emacs_blocked_free, emacs_blocked_malloc)
      (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC.
      (uninterrupt_malloc): Initialize main_thread and alloc_mutex.
      (reset_malloc_hooks): New function.
      
      * lisp.h: Declare reset_malloc_hooks.
      
      * emacs.c (Fdump_emacs): Call reset_malloc_hooks.
      
      * keyboard.c: Conditionally include pthread.h
      (handle_async_inpu, input_available_signalt): If not in the main
      thread, block signal, send signal to main thread and return.
      aa477689
  5. 30 Nov, 2004 1 commit
  6. 29 Nov, 2004 1 commit
  7. 09 Nov, 2004 1 commit
  8. 07 Nov, 2004 2 commits
  9. 02 Nov, 2004 1 commit
  10. 20 Oct, 2004 1 commit
    • Jan Djärv's avatar
      * emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF): · dede2792
      Jan Djärv authored
      New variables and constant.
      (main): Calculate heap_bss_diff.  If we are dumping and the
      heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32
      and exec ourself again.
      (Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF
      print a warning.
      
      * lastfile.c: Make my_endbss and my_endbss_static available on all
      platforms.
      
      * Makefile.in (RUN_TEMACS): Remove @SETARCH@.
      * config.in (HAVE_PERSONALITY_LINUX32): Regenerate.
      dede2792
  11. 24 Jun, 2004 1 commit
  12. 11 Jun, 2004 1 commit
  13. 22 May, 2004 1 commit
  14. 15 May, 2004 1 commit
  15. 06 May, 2004 1 commit
  16. 03 Apr, 2004 1 commit
  17. 13 Mar, 2004 1 commit
  18. 11 Mar, 2004 1 commit
    • Kim F. Storm's avatar
      Image consolidation: · 6e7e181d
      Kim F. Storm authored
      (main) [HAVE_WINDOW_SYSTEM]: Add calls to syms_of_image
      and init_image.  Remove call to init_xfns.
      6e7e181d
  19. 26 Feb, 2004 1 commit
  20. 21 Feb, 2004 2 commits
  21. 08 Feb, 2004 1 commit
  22. 16 Nov, 2003 1 commit
  23. 01 Sep, 2003 1 commit
  24. 21 May, 2003 1 commit
  25. 19 May, 2003 1 commit
  26. 14 May, 2003 1 commit
  27. 18 Dec, 2002 1 commit
  28. 14 Nov, 2002 1 commit
  29. 18 Oct, 2002 1 commit
  30. 12 Oct, 2002 1 commit
  31. 11 Oct, 2002 1 commit
  32. 12 Sep, 2002 1 commit
  33. 28 Aug, 2002 1 commit
  34. 27 Aug, 2002 3 commits
  35. 25 Aug, 2002 1 commit
    • Andrew Choi's avatar
      2002-08-25 Andrew Choi <akochoi@shaw.ca> · a6311b2f
      Andrew Choi authored
              * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is
              defined instead of MAC_OSX.
      
              * s/darwin.h (select): Define select to sys_select only if
              HAVE_CARBON is defined.
      a6311b2f