Commit Graph
48 Commits
Author SHA1 Message Date
smlng 6ac0922c7d doc: replace dashes 2017-09-06 08:49:05 +02:00
Oleg Hahm 7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Martine Lenders f93ab1a1f6 doc: make the 2^x requirement for msg_queue more visible 2016-11-01 11:07:59 +01:00
Kaspar Schleiser f0b44d5175 core: change type of msg.content.ptr to void* 2016-06-02 20:17:50 +02:00
Oleg Hahm 8690a888f5 Merge pull request #5295 from OlegHahm/msg_init_queue_assert
core: assert correct msq queue size on creation
2016-04-17 14:49:54 +02:00
Oleg Hahm bb35913840 core: assert correct msq queue size on creation
The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.
2016-04-17 13:55:21 +02:00
DipSwitch 4e8834ae87 core: Remove _t from struct names 2016-04-11 21:46:53 +02:00
Kaspar Schleiser 58a12e5034 core: make messaging optional 2016-03-30 23:27:09 +02:00
Martine Lenders 49167a4b7d core: msg: piggy-back some style fixes by uncrustify 2015-12-15 17:10:17 +01:00
Martine Lenders 512448ba12 core: msg: update detail section on IPC 2015-12-15 11:46:47 +01:00
Oleg Hahm 349d333ede Merge pull request #3997 from DipSwitch/core_msg_avail_support
core: add support to see if there are messages available for the curr…
2015-12-02 11:07:17 +01:00
DipSwitch 15e8f4e3d1 core: add support to see if there are messages available for the current thread 2015-12-02 09:08:15 +01:00
Kaspar Schleiser 5c0154b5de core: msg: remove pointless warning in doxygen 2015-11-28 23:59:09 +01:00
Oleg Hahm bb306038ae core: disallow msg_send_receive() on same thread 2015-09-29 12:45:27 +02:00
Joakim Gebart 13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
altairpearl a409191b71 core: Updated include guards to remove leading underscores 2015-03-30 06:10:58 +05:30
Oleg Hahm 70c014d698 doc: additional hint for msg_send_receive() 2015-03-18 14:26:03 +01:00
Oleg Hahm 4fec8fd31e doc: improvement to IPC documentation
Per default, doxygen will take only the part until the first dot into
account for the brief description. In this case this leads to an
ambiguous overview over the IPC send functions.
2015-03-13 10:15:41 +01:00
Oleg Hahm e75d9505ae core: added missing semicolon in header 2015-03-05 17:08:52 +01:00
Oleg Hahm b441cdfb3a core: documentation: document msg_reply_int() 2015-03-05 16:03:08 +01:00
Oleg Hahm 460dcdf8bb core: documentation: msg_reply returns -1 on error 2015-03-05 15:54:43 +01:00
René Kijewski 5f29fed076 core: introduce msg_sent_by_int()
msg_send_int() sets `m->sender_pid = target_pid`. This was used to flag a
message as having been sent by an ISR.

This PR introduces a static inline function `msg_sent_by_int()` and a
specific define for this purpose.
2014-12-18 23:04:03 +01:00
Kaspar Schleiser bdcac07faa core: msg: introduce msg_try_send 2014-10-22 12:37:33 +02:00
BytesGalore 74161f0f2d core: moved #includes outside the extern "C" guards 2014-10-21 13:46:04 +02:00
Pham Huu Dang Nhat 2ded32dee7 c++: core: add extern C in header files 2014-10-09 06:18:16 +07:00
Ludwig Ortmann b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
Ludwig Ortmann 2e190d21ed doc: fix spelling in core/include 2014-08-05 17:08:53 +02:00
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.
2014-08-01 12:02:54 +02:00
Ludwig Ortmann b6846e31fc doc: fix most occurences of FU as an author
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Ludwig Ortmann 5c9a975afb core/msg: fix, optimize and improve
fixes:
fix race conditions by reordering dINTs
prevent null pointer dereference by adding forgotten target check
add forgotten eINTs
replace printf with DEBUG
fix debug messages

optimizations:
optimize pid access
reorder msg_send switches

improvements:
add debug statements
add missing return value to msg_send_to_self documentation
2014-07-08 11:57:38 +02:00
Martin Lenders 24db4eee8c Fix documentation for msg.h 2014-05-13 08:33:38 +02:00
Kévin Roussel 24f5cfafbb Add the ability to send a message to the current thread's message queue
(without raising an error)
2014-04-11 10:43:11 +02:00
Ludwig Ortmann 2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Hauke Petersen edcabf7cb6 Fixed a lot of comments by removing tabs and correcting format. 2013-12-16 14:00:33 +01:00
Hauke Petersen 3785fe956b Fixed doxygen comments, focused on file headers and group definitions 2013-12-16 14:00:24 +01:00
Ludwig Ortmann 4b02701ad0 document msg_init_queue return values 2013-10-28 12:57:10 +01:00
Ludwig Ortmann 37c9b8ebfd fix spelling in msg.h 2013-10-28 12:57:05 +01:00
Ludwig Ortmann 7dd9ac6be0 Add msg_try_receive 2013-07-05 23:32:07 +02:00
Oliver Hahm c8bee9e554 fixed coding style (space after most keywords) 2013-06-24 22:37:35 +02:00
Oliver Hahm ffeb6f8523 fixed coding conventions (correctly this time) 2013-06-20 18:18:29 +02:00
Oleg Hahm 2ed63bd5c6 * removed outdated (and probably confusing) FeuerWhere project as an author 2013-03-08 11:30:23 +01:00
Oleg Hahm 2277b366b2 * removed outdated occurrences of (u|µ)kleos and FeuerWare 2013-03-07 20:51:26 +01:00
Oliver Hahm a30a18b3a8 [core msg]
* updated documentation of msg_send_receive()
2012-06-28 16:48:17 +02:00
Oliver Hahm 0fd8127fab [core msg]
* updated IPC documentation
2011-12-01 16:27:23 +01:00
Oliver Hahm 1e0516fe73 [core msg]
* updated documentation
2011-12-01 14:11:09 +01:00
Stephan Zeisberg 6a96de0d2f changed msg to msg_t 2011-03-08 10:54:40 +01:00
Kaspar Schleiser cb79a7a237 * first implementation of msg queues 2010-11-26 14:21:48 +01:00
Kaspar Schleiser 91ae1eb6fd * import from old firekernel repository 2010-09-22 15:10:42 +02:00