Changeset 7cf7ded in mainline for uspace/lib/c/generic/fibril_synch.c


Ignore:
Timestamp:
2011-11-15T23:50:57Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f3f6285
Parents:
8218b6b
Message:

TCP retransmission (WIP). Allow setting timer in timer handler.
Simulate packet drop. Fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/fibril_synch.c

    r8218b6b r7cf7ded  
    474474                    timer->delay);
    475475                if (rc == ETIMEOUT) {
     476                        timer->state = fts_fired;
     477                        fibril_mutex_unlock(&timer->lock);
    476478                        timer->fun(timer->arg);
    477                         timer->state = fts_fired;
     479                        fibril_mutex_lock(&timer->lock);
    478480                }
    479481        }
Note: See TracChangeset for help on using the changeset viewer.