emacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-commit] emacs/src ChangeLog lisp.h alloc.c emacs.c keyb...


From: Jan Djärv
Subject: [Emacs-commit] emacs/src ChangeLog lisp.h alloc.c emacs.c keyb...
Date: Tue, 07 Dec 2004 03:56:55 -0500

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         
Changes by:     Jan Djärv <address@hidden>      04/12/07 08:25:43

Modified files:
        src            : ChangeLog lisp.h alloc.c emacs.c keyboard.c 
                         gtkutil.c 

Log message:
        * gtkutil.c: Include signal.h and syssignal.h.
        (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.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/ChangeLog.diff?tr1=1.4080&tr2=1.4081&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/lisp.h.diff?tr1=1.514&tr2=1.515&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/alloc.c.diff?tr1=1.353&tr2=1.354&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/emacs.c.diff?tr1=1.349&tr2=1.350&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/keyboard.c.diff?tr1=1.798&tr2=1.799&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/gtkutil.c.diff?tr1=1.54&tr2=1.55&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]