Click here to Skip to main content
15,914,111 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought of the day Pin
jeron115-Jun-16 5:22
jeron115-Jun-16 5:22 
GeneralRe: Thought of the day Pin
Ravi Bhavnani15-Jun-16 5:42
professionalRavi Bhavnani15-Jun-16 5:42 
GeneralRe: Thought of the day Pin
jeron115-Jun-16 6:23
jeron115-Jun-16 6:23 
GeneralRe: Thought of the day Pin
megaadam15-Jun-16 5:36
professionalmegaadam15-Jun-16 5:36 
GeneralRe: Thought of the day Pin
Daniel Pfeffer15-Jun-16 6:31
professionalDaniel Pfeffer15-Jun-16 6:31 
GeneralRe: Thought of the day Pin
Gary Wheeler15-Jun-16 7:38
Gary Wheeler15-Jun-16 7:38 
GeneralRe: Thought of the day Pin
Corporal Agarn15-Jun-16 7:48
professionalCorporal Agarn15-Jun-16 7:48 
QuestionThe christening of a new class! (yes, it's a programming question :O ) Pin
Super Lloyd15-Jun-16 4:50
Super Lloyd15-Jun-16 4:50 
In my current multi threaded app I am using an AsyncSQLiteConnection and I need to make sure only one person at a single time use this connection. But with all the async code and background thread it's a bit difficult to track who does what!

Enter the ClassName.

I was thinking of a pun mixing Async + singleton = AsyncGleton.

Any other suggestion from you native speakers?

EDIT
Thanks TheGreateAndPowerfulOz, it is now Exclusive<T>, as in
C#
async Task AsyncSave(Exclusive<ASyncSQLiteConnection> eConn) {
  using (var session = eConn.AcquireValueAsync()) {
    var conn = session.Value;
    myData.ID = await conn.AsyncInsert<Table>(myData);
    // save related value....
    // more async operation...
  }
}
All in one Menu-Ribbon Bar
DirectX for WinRT/C# since 2013!
Taking over the world since 1371!


modified 15-Jun-16 18:46pm.

AnswerRe: The christening of a new class! (yes, it's a programming question :O ) PinPopular
H.Brydon15-Jun-16 6:20
professionalH.Brydon15-Jun-16 6:20 
AnswerRe: The christening of a new class! (yes, it's a programming question :O ) Pin
TheGreatAndPowerfulOz15-Jun-16 7:28
TheGreatAndPowerfulOz15-Jun-16 7:28 
GeneralRe: The christening of a new class! (yes, it's a programming question :O ) Pin
Super Lloyd15-Jun-16 9:26
Super Lloyd15-Jun-16 9:26 
GeneralRe: The christening of a new class! (yes, it's a programming question :O ) Pin
TheGreatAndPowerfulOz15-Jun-16 9:40
TheGreatAndPowerfulOz15-Jun-16 9:40 
PraiseRe: The christening of a new class! (yes, it's a programming question :O ) Pin
Super Lloyd15-Jun-16 11:16
Super Lloyd15-Jun-16 11:16 
GeneralGood job, Lowe's Canada! PinPopular
Brisingr Aerowing15-Jun-16 4:49
professionalBrisingr Aerowing15-Jun-16 4:49 
GeneralRe: Good job, Lowe's Canada! Pin
Ravi Bhavnani15-Jun-16 5:05
professionalRavi Bhavnani15-Jun-16 5:05 
GeneralRe: Good job, Lowe's Canada! Pin
dandy7215-Jun-16 6:36
dandy7215-Jun-16 6:36 
PraiseRe: Good job, Lowe's Canada! Pin
Gary Wheeler15-Jun-16 7:41
Gary Wheeler15-Jun-16 7:41 
GeneralOf cats and the laws of physics Pin
aaryan4215-Jun-16 4:24
aaryan4215-Jun-16 4:24 
JokeRe: Of cats and the laws of physics Pin
phil.o15-Jun-16 4:38
professionalphil.o15-Jun-16 4:38 
GeneralRe: Of cats and the laws of physics PinPopular
OriginalGriff15-Jun-16 4:49
mveOriginalGriff15-Jun-16 4:49 
GeneralRe: Of cats and the laws of physics Pin
Mark_Wallace15-Jun-16 7:24
Mark_Wallace15-Jun-16 7:24 
GeneralRe: Of cats and the laws of physics Pin
Gerry Schmitz16-Jun-16 7:27
mveGerry Schmitz16-Jun-16 7:27 
GeneralRe: Of cats and the laws of physics Pin
Mark_Wallace16-Jun-16 9:13
Mark_Wallace16-Jun-16 9:13 
GeneralRe: Of cats and the laws of physics Pin
Gerry Schmitz16-Jun-16 10:20
mveGerry Schmitz16-Jun-16 10:20 
GeneralRe: Of cats and the laws of physics Pin
Mark_Wallace16-Jun-16 10:32
Mark_Wallace16-Jun-16 10:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.