/dragonfly/lib/libc/gen/ |
H A D | _thread_init.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | _pthread_stubs.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | readdir.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | scandir.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | seekdir.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | setjmperr.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | setmode.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | siginterrupt.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | signal.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | sleep.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | syslog.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | telldir.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | termios.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | ttyname.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | usleep.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | wait.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | wait3.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | waitpid.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
/dragonfly/lib/libc/include/ |
H A D | un-namespace.h | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | namespace.h | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | libc_private.h | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | spinlock.h | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
/dragonfly/lib/libc/gmon/ |
H A D | gmon.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
/dragonfly/lib/libc/locale/ |
H A D | collate.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|
H A D | rune.c | 17ea2221 Mon Jan 31 22:29:48 GMT 2005 Matthew Dillon <dillon@dragonflybsd.org> Remove _THREAD_SAFE depenendancies. Create weakly associated stubs for posix threading calls used by libc and weak associations for procedures that a threading library would otherwise have to override. This allows a program to be linked with libc, or linked with libc + a threading library. libc_r will be deprecated over time.
Traditionally libc_r had to be linked against a threading library rather then libc. Linux, FreeBSD, and other UNIXes have moved either t oa thread-safe libc or a thread-capable libc. The threading capability is accomplished by making the appropriate thread locking calls and providing weakly referenced dummy stub functions for the case where a threading library is not linked in. Certain third party software, namely XFree/XOrg, also assume threading stubs in libc.
This is precursor work to a port of David Xu's 1:1 threading library and is also intended as a basis to allow DragonFly to support multiple threading libraries.
Ported-by: David Rhodus <sdrhodus@gmail.com> Primarily-ported-from: FreeBSD Testing and bug fixes by David Xu and Matt Dillon
|