diff options
| author | das <das> | 2009-04-10 18:02:41 (GMT) | 
|---|---|---|
| committer | das <das> | 2009-04-10 18:02:41 (GMT) | 
| commit | 3a59859d7ab015429c899f51da5ab7f456537a72 (patch) | |
| tree | fb968c2412fe426061f702eb566c018a678bfbf4 /unix/tclUnixEvent.c | |
| parent | 851b84588c5868736c40cb8906df442c89b3a3ec (diff) | |
| download | tcl-3a59859d7ab015429c899f51da5ab7f456537a72.zip tcl-3a59859d7ab015429c899f51da5ab7f456537a72.tar.gz tcl-3a59859d7ab015429c899f51da5ab7f456537a72.tar.bz2 | |
	* macosx/tclMacOSXNotify.c:	revise CoreFoundation notifier to allow
	* unix/tclUnixChan.c:		embedding into applications that
	* unix/tclUnixEvent.c:		already have a CFRunLoop running and
					want to run the tcl event loop via
					Tcl_ServiceModeHook(TCL_SERVICE_ALL).
	* macosx/tclMacOSXNotify.c:	add CFRunLoop based Tcl_Sleep() and
	* unix/tclUnixChan.c:		TclUnixWaitForFile() implementations
	* unix/tclUnixEvent.c:		and disable select() based ones in
					CoreFoundation builds.
	* unix/tclUnixNotify.c:		simplify, sync with tclMacOSXNotify.c.
	* generic/tclInt.decls:		add TclMacOSXNotifierAddRunLoopMode()
	* generic/tclIntPlatDecls.h:	internal API, regen.
	* generic/tclStubInit.c:
Diffstat (limited to 'unix/tclUnixEvent.c')
| -rw-r--r-- | unix/tclUnixEvent.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/unix/tclUnixEvent.c b/unix/tclUnixEvent.c index 214bf4c..bc6aade 100644 --- a/unix/tclUnixEvent.c +++ b/unix/tclUnixEvent.c @@ -8,10 +8,12 @@   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES.   * - * RCS: @(#) $Id: tclUnixEvent.c,v 1.9 2005/11/02 23:26:50 dkf Exp $ + * RCS: @(#) $Id: tclUnixEvent.c,v 1.9.10.1 2009/04/10 18:02:42 das Exp $   */  #include "tclInt.h" +#ifndef HAVE_COREFOUNDATION	/* Darwin/Mac OS X CoreFoundation notifier is +				 * in tclMacOSXNotify.c */  /*   *---------------------------------------------------------------------- @@ -85,6 +87,7 @@ Tcl_Sleep(      }  } +#endif /* HAVE_COREFOUNDATION */  /*   * Local Variables:   * mode: c | 
