summaryrefslogtreecommitdiffstats
path: root/lib/tevent
Commit message (Collapse)AuthorAgeFilesLines
* lib/tevent: In poll_event_context, add a pointer back to the tevent_contextMartin Schwenke2012-06-081-0/+4
| | | | | | | This makes it consistent with the other backends. Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build: Remove unused release scripts for teventAndrew Bartlett2012-05-305-426/+0
| | | | | | | | These now use waf dist, and the script/librelease.sh script as a wrapper. The mksyms.sh call in the source3/Makefile uses the copy in source3/script Andrew Bartlett
* lib/tevent/testsuite: no longer use 'compat' symbolsStefan Metzmacher2012-05-141-12/+12
| | | | metze
* tevent: fix indentation in the wscriptMichael Adam2012-05-131-1/+1
| | | | (accidentially commited in 5e8dee8d96a7522cdcde57dbbf93fbe9c614992e)
* tevent: Fix a typoVolker Lendecke2012-04-091-1/+1
|
* tevent: Install tevent.py into PYTHONARCHDIR rather than PYTHONDIR for ↵Jelmer Vernooij2012-03-101-1/+1
| | | | consistency with other Samba scripts.
* tevent_signal: Fix a valgrind errorVolker Lendecke2012-02-151-1/+2
| | | | | | | | | | | This fixes an uninitialized read introduced by my fix for the tevent_signal destructors. From looking at the code you might believe that this kicks in only when talloc failed. But with -O3 I do see it in normal operations. Sorry for that. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 15 17:58:37 CET 2012 on sn-devel-104
* tevent: change the version to 0.9.15Stefan Metzmacher2012-02-092-1/+79
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 9 12:24:19 CET 2012 on sn-devel-104
* tevent: Fix deleting signal events from within themselvesVolker Lendecke2012-02-091-2/+33
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tevent: Fix python documentation stringsAmitay Isaacs2012-01-311-2/+2
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Jan 31 16:59:29 CET 2012 on sn-devel-104
* tevent: tevent_schedule_immediate never failsVolker Lendecke2011-12-091-1/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 9 16:47:23 CET 2011 on sn-devel-104
* Add version attribute for pytevent.Jelmer Vernooij2011-12-073-1/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 7 15:07:49 CET 2011 on sn-devel-104
* tevent: Install python tevent modules.Jelmer Vernooij2011-12-061-0/+6
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 6 23:13:37 CET 2011 on sn-devel-104
* Add stub python module for tevent.Jelmer Vernooij2011-12-061-0/+28
|
* tevent: Fix typo in build script.Jelmer Vernooij2011-12-031-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 02:15:40 CET 2011 on sn-devel-104
* waf: Factor checking for undefined symbol flags out into separate method.Jelmer Vernooij2011-11-131-0/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
* tevent: Only check for pkg-config file when checking for system tevent.Jelmer Vernooij2011-11-131-1/+1
|
* tevent: Only build pytevent if the system doesn't provide it.Jelmer Vernooij2011-11-131-5/+8
|
* tevent: remove unnecessary enablement.Jelmer Vernooij2011-11-131-1/+0
|
* Fix -Wunused-but-set-variable compiler warnings in tevent_signal.cMartin Schwenke2011-11-101-4/+2
| | | | | | | | | | | | | | | | | | | | The results of some read(2) and write(2) calls are assigned into a variable that is never used. Presumably this used to avoid compiler warnings or similar. However, from (approximately) GCC 4.6 this produces some warnings: [ 609/3910] Compiling lib/tevent/tevent_signal.c ../lib/tevent/tevent_signal.c: In function ‘tevent_common_signal_handler’: ../lib/tevent/tevent_signal.c:85:10: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] ../lib/tevent/tevent_signal.c: In function ‘signal_pipe_handler’: ../lib/tevent/tevent_signal.c:183:10: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] The simplest thing to do is remove the variables and cast the function return to void. There is already a comment above each call. Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* wafsamba: Only install .pc files if libraries are public.Jelmer Vernooij2011-08-211-1/+1
|
* tevent: don't force the nesting flag to false in the destructorAndrew Tridgell2011-08-121-3/+7
| | | | | | | | | | | the tevent destructor is called in tevent_re_initialise(), to reset the event context back to its original state for creating child processes. We need the nesting flag to stay the same Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Aug 12 05:18:25 CEST 2011 on sn-devel-104
* tevent: fix documentation for tevent_context_init_byname()Sumit Bose2011-08-111-2/+2
| | | | | | | Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Aug 11 21:56:37 CEST 2011 on sn-devel-104
* tevent: Set FD_CLOEXEC on epoll handleSumit Bose2011-08-114-2/+52
| | | | | | | | If an application using libtevent starts a new process the epoll file descriptor is leaked to the new process if the event context is not freed explicitly. By setting FD_CLOEXEC this is not needed anymore. Signed-off-by: Simo Sorce <idra@samba.org>
* tevent: cleanup nesting counter when doing a full reinit.Simo Sorce2011-08-101-0/+7
| | | | | | | We may be forking from within a loop, so we need to clean-up to avoid aborts when nesting is not allowed and we are in a new children. Signed-off-by: Andreas Schneider <asn@samba.org>
* tevent: change the version to 0.9.14 after the tevent_queue changestevent-0.9.14Stefan Metzmacher2011-08-092-1/+79
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 23:02:17 CEST 2011 on sn-devel-104
* tevent: fix some comments in tevent.hStefan Metzmacher2011-08-091-2/+2
| | | | metze
* tevent: add tevent_queue_add_entry() and tevent_queue_add_optimize_empty()Stefan Metzmacher2011-08-092-2/+131
| | | | | | | | | | | | This adds more flexible handling for the add operation: - It allows the caller to remove a tevent_req from the queue by calling talloc_free() on the returned tevent_queue_entry. - It allows the caller to optimize for the empty queue case, where it the caller wants to avoid the delay caused by the immediate event. metze
* tevent: splitout tevent_queue_add_internal() from tevent_queue_add()Stefan Metzmacher2011-08-091-8/+26
| | | | metze
* tevent: allow tevent_queue_add() to take a NULL trigger functionStefan Metzmacher2011-08-092-1/+10
| | | | | | This way the caller can add a blocker to the queue. metze
* tevent: add tevent_queue_running() functionStefan Metzmacher2011-08-092-0/+16
| | | | metze
* Fix bug 7462 - Non-standard SA_RESETHAND is used in ↵Jeremy Allison2011-08-012-0/+6
| | | | | | | | | ...lib/tevent/tevent_signal.c Make SA_RESETHAND conditional on its existance. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Aug 1 22:03:45 CEST 2011 on sn-devel-104
* tevent: Slightly simplify poll_event_loop_pollVolker Lendecke2011-07-281-33/+38
| | | | | No real code change. Do an early return instead of an if-statement, avoiding one level of indentation.
* tevent: change version to 0.9.13 after adding tevent_req_defer_callback()tevent-0.9.13Stefan Metzmacher2011-07-092-1/+76
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 9 12:16:44 CEST 2011 on sn-devel-104
* tevent: add tevent_req_defer_callback()Stefan Metzmacher2011-07-093-0/+60
| | | | metze
* tevent: fix comments for tevent_req_post()Stefan Metzmacher2011-07-091-2/+2
| | | | metze
* tevent: change version to 0.9.12tevent-0.9.12Volker Lendecke2011-06-202-1/+75
|
* tevent: Add tevent_req_oomVolker Lendecke2011-06-202-1/+20
| | | | This is a replacement for tevent_req_nomem(NULL, req)
* Fix the poll() backend to correctly respond to POLLHUP|POLLERR returns on a ↵Jeremy Allison2011-06-031-1/+13
| | | | | | | | | | | | fd selected for TEVENT_FD_WRITE only. Don't trigger the write handler and remove the POLLOUT flag for this fd. Report errors on TEVENT_FD_READ requests only. Metze please check ! Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 3 22:53:52 CEST 2011 on sn-devel-104
* lib/tevent/tevent.h: minor documentation fix.Rusty Russell2011-06-011-3/+3
| | | | | | | | | | | The usecs arguments are (of course) microseconds, not milliseconds. This was added by Andreas Schneider in 6c1bcdc2 (tevent: Document the tevent helper functions.). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Jun 1 11:47:38 CEST 2011 on sn-devel-104
* tevent: Fix a typoVolker Lendecke2011-05-091-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 9 08:17:08 CEST 2011 on sn-devel-104
* Support the 'PYTHON' environment variable.Jelmer Vernooij2011-04-231-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Apr 23 04:19:05 CEST 2011 on sn-devel-104
* lib/: Fix prototypes for functions.Jelmer Vernooij2011-03-191-1/+3
|
* lib: don't install public headers if a private libraryAndrew Tridgell2011-03-151-0/+1
| | | | | for talloc/tevent/tdb, only install headers if we are doing a standalone build
* tevent: use public_headers for tevent.hAndrew Tridgell2011-03-151-1/+1
|
* tevent: change version to 0.9.11tevent-0.9.11Stefan Metzmacher2011-03-102-1/+74
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 10 10:24:49 CET 2011 on sn-devel-104
* tevent/poll: use fde->additional_flags to hold the array indexStefan Metzmacher2011-03-101-17/+6
| | | | metze
* tevent: change tevent_fd->additional_flags to uint64_tStefan Metzmacher2011-03-101-1/+1
| | | | metze
* tevent: Fixed tevent_wakeup_send code example.Andreas Schneider2011-03-091-1/+1
|
* Fix "cast from pointer to integer of different size" warnings on a 64-bit ↵Jeremy Allison2011-02-281-7/+7
| | | | machine.