summaryrefslogtreecommitdiffstats
path: root/librt
Commit message (Collapse)AuthorAgeFilesLines
* not-cancel: use *_not_cancel variants directlyAustin Foxley2009-09-211-1/+1
| | | | | | add a no threads version of not-cancel.h to fallback on Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* librt/: fix build for no threads caseAustin Foxley2009-09-211-3/+3
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-9/+10
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* do not save/restore errno around free() callsDenys Vlasenko2009-09-181-10/+6
| | | | | | | | | In any non-buggy program free() does not fail. And when it fails in a buggy program, the failure is usually fatal (heap corruption and segfault). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failureDenys Vlasenko2009-09-181-7/+10
| | | | | | | | | | | | | text data bss dec hex filename - 370 0 0 370 172 libc/misc/dirent/opendir.o + 366 0 0 366 16e libc/misc/dirent/opendir.o - 375 4 0 379 17b libc/pwd_grp/lckpwdf.o + 356 4 0 360 168 libc/pwd_grp/lckpwdf.o - 248 0 0 248 f8 librt/shm.o + 209 0 0 209 d1 librt/shm.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-191-0/+2
| | | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add a few missing includesRon2009-07-091-0/+1
| | | | | | | | | elf.h needs __BYTE_ORDER, and s_scalbn.c needs {LONG,INT}_MAX. shm.c complains about no prototypes for shm_{open,unlink} without its header. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add testcases for shm_{open,unlink}Bernhard Reutner-Fischer2009-07-091-0/+4
| | | | | | Reported-by: Mikael Lund Jepsen <mlj@iccc.dk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* include errno.h unconditionallyBernhard Reutner-Fischer2009-06-051-4/+3
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add stub for shm_open() and shm_unlinkBernhard Reutner-Fischer2009-06-051-0/+98
| | | | | | | Untested and needs testsuite exercise added Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch build system with trunk.Carmelo Amoroso2009-01-291-4/+6
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix nptl librt build breakage Khem Raj2008-12-241-1/+4
|
* Get non nptl threads compiled on x86.Khem Raj2008-12-231-7/+2
|
* Fix kernl-features.h include path.Carmelo Amoroso2008-12-113-3/+3
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Clean librt/*.oS tooCarmelo Amoroso2008-12-041-1/+1
|
* Synch with trunk @ 24160Carmelo Amoroso2008-11-271-2/+4
| | | | Step 13: build system updates.
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-3111-11/+11
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-093-37/+38
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch the whole build system. Also including recent fix on testsuite build ↵Carmelo Amoroso2008-07-091-5/+5
| | | | system
* STEP 12: synch librt directoryCarmelo Amoroso2008-04-2511-80/+86
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge nptl branch tree with trunk. Carmelo Amoroso2008-03-161-1/+1
| | | | | | | Step 6: fix Makefiles to use $(VERSION) and the compiler-driver for the link stage Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix mq_timed[receive,send]. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-204-5/+8
| | | | <carmelo.amoroso@st.com>
* Merge from trunk."Steven J. Hill"2007-01-201-1/+3
|
* Bring in POSIX timers for use with the NPTL implementation."Steven J. Hill"2006-08-189-4/+558
|
* Grrr."Steven J. Hill"2006-02-251-0/+18
|
* Merge from trunk."Steven J. Hill"2006-02-255-34/+15
|
* Merge from trunk."Steven J. Hill"2006-01-063-14/+26
|
* Merge from trunk."Steven J. Hill"2005-12-061-3/+3
|
* Oops."Steven J. Hill"2005-11-291-0/+18
|
* Merge from trunk."Steven J. Hill"2005-11-294-129/+38
|
* Sync up with trunk."Steven J. Hill"2005-11-191-1/+1
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-12/+36
|
* Massive merge from trunk."Steven J. Hill"2005-11-171-3/+0
|
* Sync with glibc implementation."Steven J. Hill"2005-11-161-21/+51
|
* Add new file for POSIX timers."Steven J. Hill"2005-11-161-0/+18
|
* Copy from trunk."Steven J. Hill"2005-10-301-0/+29
|
* Big, huge fricking merge. Peter, if you touch the build system again I'm ↵"Steven J. Hill"2005-10-041-25/+41
| | | | going to smash your keyboard.
* Big sync with trunk."Steven J. Hill"2005-09-242-2/+7
|
* rework dependencies so the archive is re-created only when the object files ↵Mike Frysinger2005-01-181-5/+2
| | | | have been updated
* make sure we include pthread.h to define pthread_attr_tMike Frysinger2005-01-181-0/+1
|
* Patch from Paul Mundt (lethal) adding an initial librt implementation.Eric Andersen2005-01-1114-0/+504
I then reworked the syscall handling and made minor cleanups. With luck I've not completely broken his patch...