Commit Graph

82 Commits (ac7671762d8385a3d136840f487ad009bc9130be)

Author SHA1 Message Date
Oleg Hahm d48330acbb doc: posix: fix doxygen complaints 6 years ago
Joakim Nohlgård f055137e02 sys/posix: Add missing Doxygen comment on spinlock flag member 6 years ago
Joakim Nohlgård 597db0358d sys/posix/pthread: Use C11 atomic instead of atomic.h 6 years ago
Oleg Hahm 3c6678b037 *: fix mismatching endifs for header guards 6 years ago
Oleg Hahm 7ee7801c10 *: remove trailing underscores from header guards 6 years ago
Philippe Coval 20c3aaa448 sys: Fix pthread includes to support avr-libs
Missing malloc.h and clock_id_t were causing issues to build.

It was tested with this configuration:

- linux ubuntu 14.04.5
- arduino-mega2560 board
- avr-libc-1.8.0-4.1

This change was needed to build iotivity example

Bug: https://github.com/RIOT-OS/RIOT/issues/6241
Change-Id: I82ce246093b3467dfe9746f999bcc9335dbb65f6
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
6 years ago
Laurent Navet 5fe337bc6c sys: fix include headers guards 7 years ago
Kaspar Schleiser 7718f114cb all: remove pointer casts for msg.content.ptr 7 years ago
DipSwitch 21edec412a posix: Remove _t from struct names 7 years ago
Kaspar Schleiser f626ee5969 Merge pull request #4557 from kaspar030/introduce_intrusive_singly_linked_list
core: mutex: several optimizations
7 years ago
Kaspar Schleiser c0f39bb55f sys: posix: pthread: fix mutex usage 7 years ago
Yonezawa-T2 1ce140d910 debug: fix compilation error for %p formatter 7 years ago
kYc0o f92b025b85 vtimer: get rid of 7 years ago
DipSwitch 0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 7 years ago
Oleg Hahm bdcf8879fd core: merged kernel_macros.h and attributes.h
Merged into new kernel_defines.h and updated all includes.
7 years ago
Kaspar Schleiser 2b010b5337 core: rename tcb_t -> thread_t, move into thread.h 7 years ago
Kaspar Schleiser 9082273746 core: header cleanup 7 years ago
Hauke Petersen 41979b64cd sys: adapted to renamed THREAD FLAGS 7 years ago
Kaspar Schleiser effb15a2cc Merge pull request #3313 from gebart/pr/eINT-fixes
eINT/dINT fixes
8 years ago
Joakim Nohlgård 98c465008b all: Update @gebart family name, email 8 years ago
Joakim Gebart 0cfe6d15dc sys/posix/pthread: Replace dINT by disableIRQ 8 years ago
Kaspar Schleiser 6f21fd806c sys: posix: pthread_cond: remove unnecessary define 8 years ago
Joakim Gebart ab9d924c67 sys/posix/pthread: use atomic_int_t for pthread_spinlock_t 8 years ago
Hauke Petersen 9943f51080 global: renamed cpu-conf.h into cpu_conf.h 8 years ago
Joakim Gebart 718664dacc sys/posix/pthread: Use atomic_int_t to handle spin lock 8 years ago
Joakim Gebart 13832d8e62 everything: Remove filename from @file Doxygen command 8 years ago
Lucas Jenss 426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
8 years ago
Joseph Noir e3a5bb25af Add fix for clockid_t on OS X 8 years ago
Martin Landsmann 6e90ad6d73 sys/posix/pthread: added dynamic pthread thread local storage 8 years ago
Ludwig Ortmann 0027f90be4 Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
cpu: simplify folder structure
8 years ago
Oleg Hahm 26ab4829d7 doc: fix posix wrapper documentation 8 years ago
Oleg Hahm 0ccf1043de doc: fixed broken doxygen references 8 years ago
Oleg Hahm 0c967c4d3f cpu: msp430: renamed msp430x16x to msp430fxyz 8 years ago
Oleg Hahm 037571445c Merge pull request #1974 from OlegHahm/cleanup_licenses
licenses: fix miss-spelled & missing boiler plates
9 years ago
Oleg Hahm 39abba1bc2 licenses: fix miss-spelled & missing boiler plates 9 years ago
BytesGalore de3c3cebd0 c++: sys: add extern C to header files 9 years ago
Ludwig Ortmann b7992922ce fix license headers in non-.c files 9 years ago
René Kijewski 2cb4166c3e all over the place: use sched_active_pid
In many places we needlessly use `sched_active_thread->pid` whilst we
already have `sched_active_pid` with the same value, and one less
indirection.

`thread_getpid()` is made `static inline` so that there is no penalty in
using this function over accessing `sched_active_pid` directly.
9 years ago
René Kijewski f3fcc1d5dd pthread: pthread_barrier should call yield 9 years ago
Oleg Hahm 1de5c2b4a0 fixed remaining variables to kernel_pid_t 9 years ago
Oleg Hahm 74fbff1df2 net: changed name of internal variable
To avoid naming conflicts + made variable static and volatile as it
should be.
9 years ago
Oleg Hahm 0ad7b170ed make kernel_pid_t comparisons consistent 9 years ago
Oleg Hahm aa2ecf6216 initialize kernel_pid_t correctly 9 years ago
Oleg Hahm c2b0423918 core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
9 years ago
Ludwig Ortmann c2b2e4554b core/queue: queue -> priority_queue
Rename queue to priority queue, because that's what it is.
9 years ago
Oleg Hahm 983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
9 years ago
Ludwig Ortmann 3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 9 years ago
René Kijewski 4032a22719 queue: add queue_t root type 9 years ago
René Kijewski ba1a15535b core: remove extra thread_create_arg() function 9 years ago
René Kijewski 840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
9 years ago