Can I design any lock-free solution for this scenario
问题 I have a simple Employee class as follows public class Employee { public int ID { get; set; } public string LastName { get; set; } public string FirstName { get; set; } } I then have a ProcessEmployees class which do concurrent processing of these employees in method called ProcessThisEmployee. Within this method, I have to call a third party library method. So far its all simple. Problem is sometime when user choose to cancel this operation when its in progress, I need to do some clean up on