chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move player/decoder PIDs back into the main queue_entry structure, now
[disorder]
/
lib
/
queue.h
diff --git
a/lib/queue.h
b/lib/queue.h
index 1c70cfde8ffe2a22fcb6c63e02f2aad0ae00e4c2..02937f6b1d0769dad87a3e0b7580b05dc5d154bd 100644
(file)
--- a/
lib/queue.h
+++ b/
lib/queue.h
@@
-38,9
+38,9
@@
enum playing_state {
*/
playing_isscratch,
*/
playing_isscratch,
- /** @brief
Could not find a player
+ /** @brief
OBSOLETE
*
*
- *
Obsolete - nothing sets this any more
+ *
Formerly meant that no player could be found. Nothing sets this any more.
*/
playing_no_player,
*/
playing_no_player,
@@
-203,6
+203,9
@@
struct queue_entry {
/** @brief Owning queue (for Disobedience only) */
struct queuelike *ql;
/** @brief Owning queue (for Disobedience only) */
struct queuelike *ql;
+
+ /** @brief Decoder (or player) process ID */
+ pid_t pid;
};
void queue_insert_entry(struct queue_entry *b, struct queue_entry *n);
};
void queue_insert_entry(struct queue_entry *b, struct queue_entry *n);