#
03d334bb |
|
27-Aug-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
build fixes. sys/types.h cannot incliude endian.h because that creates circular include dependencies. Add proper multiarch grist to libcolumnlistview.
|
#
d7818b5a |
|
18-Jun-2019 |
Jessica Hamilton <jessica.l.hamilton@gmail.com> |
sys/types: include endian.h, and fix endian definitions. * Defining LITTLE/BIG_ENDIAN as 0 breaks some feature test macros, particularly in autoconf. Checking with FreeBSD, their macros define a non-zero value as well. References: - https://github.com/freebsd/freebsd/blob/master/sys/x86/include/endian.h - http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/c.m4#n1584 Change-Id: I61b0bbad74e2bf5248464a5c15e504b9f45bea7f Reviewed-on: https://review.haiku-os.org/c/haiku/+/1526 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
6c9e0126 |
|
24-Jul-2017 |
Jérôme Duval <jerome.duval@gmail.com> |
pthread_rwlock: use a mutex for process-private locks. * instead of a benaphore. * define PTHREAD_RWLOCK_INITIALIZER. * adjust Init(), Destroy(), StructureLock() and StructureUnlock().
|
#
0e0f49e7 |
|
27-Dec-2016 |
Dmytro Shynkevych <dm.shynk@gmail.com> |
libroot: Implemented pthread barriers This is an implementation of pthread barriers pursuant to the relevant specification. Barriers are essentially a special case of conditional variables, such that all threads waiting on one are woken up when the number of waiters reaches a number provided at the initialization of the barrier. In view of that, this implementation mimics the implementation of pthread_cond, except it is more specialized and self-contained. Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
173f54f1 |
|
19-Jul-2012 |
Matt Madia <mattmadia@gmail.com> |
Updated copyright in headers. No functional change.
|
#
b353a9a3 |
|
17-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
ANSI C doesn't like unnamed unions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42444 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
24df6592 |
|
11-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged signals-merge branch into trunk with the following changes: * Reorganized the kernel locking related to threads and teams. * We now discriminate correctly between process and thread signals. Signal handlers have been moved to teams. Fixes #5679. * Implemented real-time signal support, including signal queuing, SA_SIGINFO support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition of the real-time signal range. Closes #1935 and #2695. * Gave SIGBUS a separate signal number. Fixes #6704. * Implemented <time.h> clock and timer support, and fixed/completed alarm() and [set]itimer(). Closes #5682. * Implemented support for thread cancellation. Closes #5686. * Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554. * Lots over smaller more or less related changes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0fae8733 |
|
03-Nov-2010 |
Scott McCreary <scottmc2@gmail.com> |
Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines. Cleaned up some header style violations, making sure there are two blank lines after the header guards. This fixes the posix header part of #2191. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ea021b94 |
|
25-May-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Moved phys_addr_t definition to SupportDefs.h. * Added phys_size_t. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36934 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d34daac8 |
|
24-May-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* config/{HaikuConfig.h,types.h}: - Added macro __HAIKU_ARCH_BITS specifying the architecture bitness (32/64) (might be more convenient to use than __HAIKU_ARCH_{32,64}_BIT). - Added macros __HAIKU_ARCH_PHYSICAL_BITS, __HAIKU_ARCH_PHYSICAL_{32,64}_BIT, and the types __haiku_phys_[s]addr_t. The intention is to use separate macros and types for virtual and physical addresses, since for some architectures (e.g. x86 with PAE) those actually differ. * sys/types.h, BeBuild.h, SupportDefs.h: - Added types phys_[s]addr_t and respective printf() format macros. - Added public macros B_HAIKU_BITS, B_HAIKU_PHYSICAL_BITS, B_HAIKU_PHYSICAL_{32,64}_BIT. Might break the build under older Haiku installations. Will test next. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36926 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2222d055 |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory "config", which ATM contains HaikuConfig.h and types.h. The idea is to provide a basic architecture/compiler abstraction by defining types and macros that allow the posix/ and os/ headers to be mostly architecture/compiler agnostic. * Adjusted the posix/ and os/ headers accordingly. * <SupportDefs.h>: Introduced B_PRI* and B_SCN* macros similar to the PRI* and SCN* macros defined in <inttypes.h>, just for the BeOS/Haiku [u]int* types and some POSIX types (e.g. off_t, dev_t, ino_t) that don't have POSIX macros. Also the B_PRI* and B_SCN* macros are available unconditionally, unlike the <inttypes.h> macros, which require __STDC_FORMAT_MACROS to be defined in C++ mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b3ae7046 |
|
07-Aug-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* fix year in copyright git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26856 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
40353b08 |
|
07-Aug-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Updating license git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26855 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a34963f3 |
|
16-Mar-2006 |
Jérôme Duval <korli@users.berlios.de> |
added posix_gnu_string added more posix definitions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
95216cc8 |
|
06-Jul-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Added id_t as required by POSIX/ISO-C 99. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8342 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c757aac3 |
|
05-May-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Added BeBuild.h in a central header. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
435464b4 |
|
22-Mar-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Added addr_t to sys/types.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7052 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
54d6a27c |
|
23-Oct-2002 |
beveloper <beveloper@nowhere.fake> |
a new and native sys/types.h header for OpenBeOS git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1622 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8edc4bb4 |
|
22-Sep-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added a very preliminary time.h Removed the bzero()/bcopy() prototypes, and replaced them with macros - we should decide what to do with them. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1119 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb11b673 |
|
20-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added a preliminary sys/types.h that just includes ktypes.h for now. Changed other headers to include sys/types.h rather than ktypes.h. Added a license reference at the beginning of those files. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@840 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
173f54f1473bd6a6511c5fc6dc899c91fb8dd667 |
|
19-Jul-2012 |
Matt Madia <mattmadia@gmail.com> |
Updated copyright in headers. No functional change.
|
#
b353a9a30acaf252733b9193242d45bf4dd1515b |
|
17-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
ANSI C doesn't like unnamed unions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42444 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
24df65921befcd0ad0c5c7866118f922da61cb96 |
|
11-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged signals-merge branch into trunk with the following changes: * Reorganized the kernel locking related to threads and teams. * We now discriminate correctly between process and thread signals. Signal handlers have been moved to teams. Fixes #5679. * Implemented real-time signal support, including signal queuing, SA_SIGINFO support, sigqueue(), sigwaitinfo(), sigtimedwait(), waitid(), and the addition of the real-time signal range. Closes #1935 and #2695. * Gave SIGBUS a separate signal number. Fixes #6704. * Implemented <time.h> clock and timer support, and fixed/completed alarm() and [set]itimer(). Closes #5682. * Implemented support for thread cancellation. Closes #5686. * Moved send_signal() from <signal.h> to <OS.h>. Fixes #7554. * Lots over smaller more or less related changes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42116 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0fae873352b02792db93f721c1a2ff6b240c8ecc |
|
03-Nov-2010 |
Scott McCreary <scottmc2@gmail.com> |
Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines. Cleaned up some header style violations, making sure there are two blank lines after the header guards. This fixes the posix header part of #2191. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ea021b94d81dfcaf8ecb7439a11af3a116fc0247 |
|
25-May-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Moved phys_addr_t definition to SupportDefs.h. * Added phys_size_t. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36934 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d34daac82a58a31e54a076f121c2bbb0cea60447 |
|
24-May-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* config/{HaikuConfig.h,types.h}: - Added macro __HAIKU_ARCH_BITS specifying the architecture bitness (32/64) (might be more convenient to use than __HAIKU_ARCH_{32,64}_BIT). - Added macros __HAIKU_ARCH_PHYSICAL_BITS, __HAIKU_ARCH_PHYSICAL_{32,64}_BIT, and the types __haiku_phys_[s]addr_t. The intention is to use separate macros and types for virtual and physical addresses, since for some architectures (e.g. x86 with PAE) those actually differ. * sys/types.h, BeBuild.h, SupportDefs.h: - Added types phys_[s]addr_t and respective printf() format macros. - Added public macros B_HAIKU_BITS, B_HAIKU_PHYSICAL_BITS, B_HAIKU_PHYSICAL_{32,64}_BIT. Might break the build under older Haiku installations. Will test next. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36926 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2222d0559df303a9846a2fad53741f8b20b14d7c |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory "config", which ATM contains HaikuConfig.h and types.h. The idea is to provide a basic architecture/compiler abstraction by defining types and macros that allow the posix/ and os/ headers to be mostly architecture/compiler agnostic. * Adjusted the posix/ and os/ headers accordingly. * <SupportDefs.h>: Introduced B_PRI* and B_SCN* macros similar to the PRI* and SCN* macros defined in <inttypes.h>, just for the BeOS/Haiku [u]int* types and some POSIX types (e.g. off_t, dev_t, ino_t) that don't have POSIX macros. Also the B_PRI* and B_SCN* macros are available unconditionally, unlike the <inttypes.h> macros, which require __STDC_FORMAT_MACROS to be defined in C++ mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b3ae704659a3251d57e52f96ec790c080f76fe72 |
|
07-Aug-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* fix year in copyright git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26856 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
40353b088c52cbf889645af6e0afc33e92527410 |
|
07-Aug-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Updating license git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26855 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a34963f388a39217b340f32aae95bfd807056a40 |
|
16-Mar-2006 |
Jérôme Duval <korli@users.berlios.de> |
added posix_gnu_string added more posix definitions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
95216cc886d70cb070f1f345428ffc26d92ae4b4 |
|
06-Jul-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Added id_t as required by POSIX/ISO-C 99. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8342 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c757aac39999ff39d67b96c604e02d0654534b07 |
|
05-May-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Added BeBuild.h in a central header. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
435464b45199bd1cceda31801cbe83313225dbee |
|
22-Mar-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Added addr_t to sys/types.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7052 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
54d6a27c67483c231f39beda8a5baa9c145763fc |
|
23-Oct-2002 |
beveloper <beveloper@nowhere.fake> |
a new and native sys/types.h header for OpenBeOS git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1622 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8edc4bb4c8f3b39fff9627b2433bffe131b75687 |
|
22-Sep-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added a very preliminary time.h Removed the bzero()/bcopy() prototypes, and replaced them with macros - we should decide what to do with them. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1119 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb11b67370ab6acec53f88af085b91c4e2f64f6e |
|
20-Aug-2002 |
Axel Dörfler <axeld@pinc-software.de> |
Added a preliminary sys/types.h that just includes ktypes.h for now. Changed other headers to include sys/types.h rather than ktypes.h. Added a license reference at the beginning of those files. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@840 a95241bf-73f2-0310-859d-f6bbb57e9c96
|