Tag: thread

  • Async-Mutex: A JavaScript Library to Prevent Race Conditions

    Race condition is where the system’s substantive behavior is dependent on the sequence or timing of other uncontrollable events, leading to unexpected or inconsistent results. Every engineer soon or later will face this situation, it’s so frustating when a data handled by more than 1 operation which lead unexpected or inconsistent results. This situation sometimes…