210a20b807
core: msg: don't wake up sender after receive if it's REPLY_BLOCKED
...
solves issue #100
If the sender is reply-blocked, waking it up after its message has been
delivered is wrong. It needs to stay reply-blocked until the reply has
been delivered.
2014-02-12 19:16:41 +01:00
56ee585c81
update Kaspar's email address
...
kaspar.schleiser@fu-berlin.de is obsolete.
(2nd try, first try was overwritten by some overzealous documenter)
2014-01-28 11:53:19 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
aaf325c290
Merge pull request #400 from kaspar030/msg_cleanup
...
msg.c cleanup
2013-12-05 04:16:00 -08:00
23ecbde1a3
core: msg: whitespace fixes
2013-12-04 20:36:21 +01:00
94283789a7
core: msg: rename "n" to something more expressive ("queue_index")
2013-12-04 20:33:53 +01:00
af542058ee
core: msg: whitespace fixes
2013-12-04 20:33:53 +01:00
f85adf608f
change my email address
...
kaspar.schleiser@fu-berlin.de will be obsoleted soon. Replace it with
kaspar@schleiser.de , which will (hopefully) stay.
2013-12-04 15:09:56 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Oleg Hahm
e44412d0c1
added debug information to msg_send (similar to msg_send_int)
2013-11-03 06:46:13 -08:00
Ludwig Ortmann
f1b89df8d8
explain the "brainfuck condition"
2013-10-28 12:57:02 +01:00
Ludwig Ortmann
5e6cc92291
harmonize msg.c DEBUG statements
...
Use same order (function: [thread_name:] message) throughout msg.c.
Begin message with a capital letter.
2013-10-27 08:37:18 +01:00
Ludwig Ortmann
2d1303763e
fix spelling in msg.c
2013-10-27 08:13:27 +01:00
Christian Mehlis
9ace6b4807
add missing inttypes include for PRI macros
2013-09-26 21:10:57 +02:00
Christian Mehlis
21ffebc197
add check for a not existing thread
2013-09-11 19:58:54 +02:00
LudwigOrtmann
07c7e8ccd3
Merge pull request #90 from OlegHahm/milestone_1_0_fixes
...
Milestone 1 0 fixes
2013-08-08 06:29:22 -07:00
Oleg Hahm
836ae0d291
fix #11 : initialize queue_node_t n.next in msg_send()
2013-08-02 01:31:00 +02:00
Christian Mehlis
62994314aa
in msg_send_receive: return result from msg_send
2013-08-01 22:03:55 +02:00
Oleg Hahm
599e266b55
Revert "removed redefined ENABLE_DEBUG"
...
This reverts commit 69c526f44d
.
Instead of removing ENABLE_DEBUG, define it as zero and replacing the
ifdef preprocessor commands by a simple #if
2013-07-24 00:38:43 +02:00
Christian Mehlis
c5e62e238b
add missing include
2013-07-16 15:27:19 +02:00
Christian Mehlis
69c526f44d
removed redefined ENABLE_DEBUG
2013-07-16 15:27:19 +02:00
Christian Mehlis
190e24116d
use int explicitly
2013-07-09 13:41:08 +02:00
Christian Mehlis
96cbf4019e
make internal function static
2013-07-09 13:40:52 +02: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
Oliver Hahm
0d6d8390c0
* updated copyright and license headers in various files
2013-06-18 17:21:38 +02:00
Oliver Hahm
0d6d3e2c43
[board msba2-common] [sys chardev_thread] [sys shell] [driver cc110x_ng] [core msg]
...
* some cosmetics and cleanups
2012-02-16 21:33:41 +01:00
Stephan Zeisberg
5abef6daf2
changed types irq_callback, hashtable, posix_io, s_display_flags, seq_buffer_entry, tcb, toprint to type_t"
2011-03-08 11:43:21 +01:00
Stephan Zeisberg
6a96de0d2f
changed msg to msg_t
2011-03-08 10:54:40 +01:00
3a83ef0824
* msg queue optimization
2010-11-26 15:02:15 +01:00
cb79a7a237
* first implementation of msg queues
2010-11-26 14:21:48 +01:00
dc094d442b
* fix msg_reply_int
2010-11-03 11:37:32 +01:00
1e238e4131
* massive name changes
2010-10-28 11:29:03 +02:00
7a8a07fe08
* msg: fix msg_reply
2010-10-28 10:12:45 +02:00
52bca573f4
* make msg_send use IRQ api
...
* msg_send_int now sets sender_pid to receiver_pid
2010-09-24 16:24:13 +02:00
91ae1eb6fd
* import from old firekernel repository
2010-09-22 15:10:42 +02:00