I've added the "lock" statement. Works the same as the C# one.
Would anyone like to volunteer to update the wiki?
Forums
lock statement
9 posts
• Page 1 of 1
Re: lock statement
Locking. Nice addition. Also the suicide pill, actors ftw!
- todd.a
- Site Admin
- Posts: 81
- Location: Chicago, IL
Re: lock statement
I'm still awaiting your actors patch.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: lock statement
LOL. I was kidding, lock is great stuff. Who needs actors?
I like all the recent updates but I have to do manual installations because for some reason ./install-from-workspace does not work like it used to.
sudo ./install-from-workspace puts a blank ./cobra script in /usr/local/cobra/bin for me :S.
I like all the recent updates but I have to do manual installations because for some reason ./install-from-workspace does not work like it used to.
sudo ./install-from-workspace puts a blank ./cobra script in /usr/local/cobra/bin for me :S.
- todd.a
- Site Admin
- Posts: 81
- Location: Chicago, IL
Re: lock statement
Can you fix? Some of the things I work on like making testify multi-threaded are unlikely to be worked on by others. While stuff like this can be diagnosed and patched by most anyone. I'd like to spread more of the effort around on this open source project.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: lock statement
I did take a look at it a couple days ago and it shows the code doing all the right things. I'll take another look and see if anything changed with regard to previous versions of the file.
- todd.a
- Site Admin
- Posts: 81
- Location: Chicago, IL
Re: lock statement
First pass of wiki entry at wiki:Lock
- hopscc
- Posts: 632
- Location: New Plymouth, Taranaki, New Zealand
Re: lock statement
Cool. Thanks.
I might use a list instead of an array unless there is an explicit need for an array. I realize you got that from the code you ported from.
I might use a list instead of an array unless there is an explicit need for an array. I realize you got that from the code you ported from.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: lock statement
Yeah - Here I admit to a total failure of (my) imagination - simplest conversion of C# examples to cobra
I'm of two minds whether its clearer in those examples to provide exact ports from c# examples to the same thing in cobra or to
convert to cleaner cobra structures ('cobra best practise').
Yesterday was the 'Just port' minds turn
OTOH a lot of the C# example code for the documented item is absolute ordure in the first place
Tweak 'em if you like.
I'm of two minds whether its clearer in those examples to provide exact ports from c# examples to the same thing in cobra or to
convert to cleaner cobra structures ('cobra best practise').
Yesterday was the 'Just port' minds turn
OTOH a lot of the C# example code for the documented item is absolute ordure in the first place
Tweak 'em if you like.
- hopscc
- Posts: 632
- Location: New Plymouth, Taranaki, New Zealand
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 83 guests