Enough AsyncLock

  •        104

Helper class for locking accross one or several await calls. Based on code developed and described by Stephen Toub, http://blogs.msdn.com/b/pfxteam/archive/2012

http://asynclock.codeplex.com/

Tags
Implementation
License
Platform

   




Related Projects

WP8 Async WebClient


Provides async/await (TPL) capability to WebClient within Windows Phone 8

twitter-util-async - scala-async support for twitter util library


twitter-util-async adapts the scala-async library, which only operates with scala.concurrent.Future, to operate with com.twitter.util.Future in the Twitter util library.See the documentation for scala-async for information on how to use async and await. The main difference is that you must import com.foursquare.common.async.Async.{async, await} instead of scala.async.Async.{async, await}. (Also, obviously, async returns, and await expects, a com.twitter.util.Future instead of a scala.concurrent.Future.

async-await-in-wcf - An application demonstrating Async and Await in WCF Services


An application demonstrating Async and Await in WCF Services

cs-lounge-doorbell - Ad-hoc phone posting is not good enough


Ad-hoc phone posting is not good enough



async-sema - Semaphore using `async` and `await`


This is a semaphore implementation for use with async and await. The implementation follows the traditional definition of a semaphore rather than the definition of an asynchronous semaphore. Where as the latter one generally allows every defined task to proceed immediately and synchronizes at the end, async-sema allows only a selected number of tasks to proceed at once while the rest will remain waiting.Async-sema manages the semaphore count as a list of tokens instead of a single variable containing the number of available resources. This enables an interesting application of managing the actual resources with the semaphore object itself. To make it practical the constructor for Sema includes an option for providing an init function for the semaphore tokens. Use of a custom token initializer is demonstrated in example1.js.

Enough Storage


Enough Storage allows you to store and load objects using the DataContractSerializer (XML) or the DataContractJsonSerializer - locally, temporary or roaming.

async/await C# Samples


Project demonstrating new C# feature - async and await. You can find here several solutions to make UI calls asynchronous: APM, EAP and async.

sweet-async-await - Sweet.js macros to support the async/await ES7 proposed feature


Sweet.js macros to support the async/await ES7 proposed feature

ea-async - EA Async implements async-await methods in the JVM.


EA Async implements async-await methods in the JVM. It allows programmers to write asynchronous code in a sequential fashion.

AwaitableUI


AwaitableUI is a .NET library that adds async/await keyword support to controls to enable asynchronous UI using structured code instead of events.

geheimschreiber - A Go implementation of the Geheimschreiber ("G-writer")


Also remember that we know some of the plaintext: lines begin with 'UMUM4VEVE35' and end with '35'. We're going to figure out the XOR wheels first, and then the transpose wheels, by looking at cipherints that isolate their effects.First, for the XOR wheels, consider cipherints 00000 and 11111. We don't care about the transpose step! All the bits are the same! Each time we see those cipherints, we learn the bit of the current spoke on each of the five XOR wheels; it's just (plainbit XOR cipherbit

AsyncAwaitProgressBarDemo - Code from Async/Await File download with Progress Bar at Litmus


Code from Async/Await File download with Progress Bar at Litmus

AsyncDemo - An example application showing the benefits of async/await in C#


An example application showing the benefits of async/await in C#

MisterRabbit - Demo to show locking issue with async/await and EasyNetQ


Demo to show locking issue with async/await and EasyNetQ

LinqToAwait - A Task-based LINQ designed to work with async/await


A Task-based LINQ designed to work with async/await

Actors - experiments with c# async await and actors


experiments with c# async await and actors

aioodbc - aioodbc - is a library for accessing a ODBC databases from the asyncio


aioodbc is Python 3.5+ module that makes possible accessing ODBC databases with asyncio. It is rely on awesome pyodbc library, preserve same look and feel. aioodbc was written async/await syntax (PEP492) thus not compatible with Python older then 3.5. Internally aioodbc employ threads to avoid blocking the event loop, btw threads are not that bad as you think, other drivers like motor use same approach.aioodbc fully compatible and tested with uvloop. Take a look on a test suite, all tests are executed with both: default and uvloop.

node-await-flow - A simple async/await module, abstraction of node-fibers.


A simple async/await module, abstraction of node-fibers.