Changeset 5f5d375 in mainline for uspace/srv/hid/remcons/user.h


Ignore:
Timestamp:
2024-10-08T15:12:03Z (7 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
5e0acaa
Parents:
c7ecd290
git-author:
Jiri Svoboda <jiri@…> (2024-10-07 18:11:43)
git-committer:
Jiri Svoboda <jiri@…> (2024-10-08 15:12:03)
Message:

Split read/write lock in remcons

We do not want waiting for event to block output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/remcons/user.h

    rc7ecd290 r5f5d375  
    5252/** Representation of a connected (human) user. */
    5353typedef struct {
    54         /** Mutex guarding the whole structure. */
    55         fibril_mutex_t guard;
     54        /** Synchronize send operations */
     55        fibril_mutex_t send_lock;
     56        /** Synchronize receive operations */
     57        fibril_mutex_t recv_lock;
    5658        /** Callback functions */
    5759        telnet_cb_t *cb;
Note: See TracChangeset for help on using the changeset viewer.