0
votes
1answer
85 views

Asynchronous version of AutoResetEvent

This is my second attempt to create asynchronous version of AutoResetEvent. At first I tried to make it completely lock-less, but it turned out to be impossible. This implementation contains a lock ...
2
votes
1answer
539 views

Correct approach to wait for multiple async methods to complete

I have an IWorkflow interface defined as follows: public interface IWorkflow { Task ConfigureAsync(); Task StartAsync(); Task StopAsync(); } And I have an Engine class: public sealed ...
1
vote
0answers
72 views

MixpanelAPI - my first open source project

I would love to hear feedback on my first open source project (a very simple async API for Mixpanel) It implements a REST client for this REST HTTP API Review requested on the following aspects: ...
8
votes
4answers
427 views

Code works but memory usage is erratic

I have the following class which is a tool for retrieving MD5 hashes of files that are input into it. They can potentially be very large files and I require cancellation and progress report, hence why ...
1
vote
1answer
205 views

Is this a safe/correct way to make a python LogHandler asynchronous?

I'm using some slow-ish emit() methods in Python (2.7) logging (email, http POST, etc.) and having them done synchronously in the calling thread is delaying web requests. I put together this function ...