Changeset ecf823a in mainline for uspace/srv/net/tl/tcp/conn.c
- Timestamp:
- 2011-12-31T10:01:19Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 96cd5b4
- Parents:
- 3819ce5 (diff), 852052d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/conn.c
r3819ce5 recf823a 121 121 fibril_condvar_initialize(&conn->cstate_cv); 122 122 123 conn->cstate_cb = NULL; 124 123 125 conn->cstate = st_listen; 124 126 conn->reset = false; … … 243 245 tcp_cstate_t old_state; 244 246 247 log_msg(LVL_DEBUG, "tcp_conn_state_set(%p)", conn); 248 245 249 old_state = conn->cstate; 246 250 conn->cstate = nstate; 247 251 fibril_condvar_broadcast(&conn->cstate_cv); 252 253 /* Run user callback function */ 254 if (conn->cstate_cb != NULL) { 255 log_msg(LVL_DEBUG, "tcp_conn_state_set() - run user CB"); 256 conn->cstate_cb(conn, conn->cstate_cb_arg); 257 } else { 258 log_msg(LVL_DEBUG, "tcp_conn_state_set() - no user CB"); 259 } 248 260 249 261 assert(old_state != st_closed);
Note:
See TracChangeset
for help on using the changeset viewer.