Changeset 1f2b07a in mainline for uspace/lib/c/include/inet/tcp.h


Ignore:
Timestamp:
2015-06-08T22:00:22Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dc0d6e5d
Parents:
204ba47
Message:

TCP and UDP client code needs to make sure callback connection handler has terminated before freeing session-related data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/inet/tcp.h

    r204ba47 r1f2b07a  
    9090        /** List of listeners */
    9191        list_t listener; /* of tcp_listener_t */
     92        /** TCP service lock */
     93        fibril_mutex_t lock;
     94        /** For waiting on cb_done */
     95        fibril_condvar_t cv;
     96        /** Set to @a true when callback connection handler has terminated */
     97        bool cb_done;
    9298} tcp_t;
    9399
Note: See TracChangeset for help on using the changeset viewer.