Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Crestron
- Messages
Search
Re: Alternative to 2N and Doorbird
toggle quoted message
Show quoted text
On Jul 9, 2021, at 1:46 PM, zac.sparrow@... wrote:
|
differences between Critical Section and Mutex
I have a general question regarding differences between Critical Section and Mutex.
?
From what I understand?both allow you to "lock" pieces of code into an atomic operation by allowing access to only a single thread at-a-time, therefore preventing race conditions.
The difference seems to be that a Critical Section can only synchronize threads inside a single process, while a Mutex will synchronize between processes.?
Critical Section is also faster than a Mutex.
Are the statements above correct?
If yes, then here is my question: on a Simpl windows program with simpl+ and simpl# modules, what is a "process"? Is it just the module instance or is it the whole program?(the aggregate of simpl, simpl+ and simpl# altogether) ?
?
Case in point:?
I have a simpl# module that logs a bunch of strings to a file, lets call it Module A.?Then I have a separate module that sends the file to an email as an attachment, lets call it Module B.
Module A currently has a critical section to protect the "write-to-file" piece of code so multiple threads don't fight over it. More specifically, it's a streamwriter with a proper try-catch-finally, all wrapped around a Critical Section.
Module B simply grabs the file produced by Module A and sends out as an email attachment. Module B is totally decoupled from Module A and a request to send an email can come at anytime. The only shared resource they have in common is "the file".
For now, there is no protection in case Module B tries to grab the file while Module A happens to be writing to it.
?
What is the best practice here? is a Mutex the way to go about protecting the file from ever getting corrupted??
?
Thanks in advance,
Fabio |
Re: H.264 Streaming on TSW-1052
One thing I found with Luma and Hikvision is that your password must not contain any characters, only letters and numbers.
Here is the RTSP url I am using to pull in the second stream. rtsp://admin:[email protected]:554/Streaming/channels/102 |
Re: H.264 Streaming on TSW-1052
On the product page it says that the recommended resolution and maximum frame rate and resolution is?1280x720@15fps. On Fri, Jul 9, 2021, 2:53 PM AV Ninja via <avprogram=[email protected]> wrote:
|
H.264 Streaming on TSW-1052
Can anyone tell me what the deal is with H.264 streaming for TSW-1052's.? Doesn't seem to work.? Trying to stream rtsp cameras to them unsuccessfully.? works with Ipad and newer touchpanels but having issue with TSW-1052's.? I believe I had streaming working in past with TXRX but streaming straight from LUMA camera server
|
Re: Looking for some lighting programs written in 2013 for a client.
¿ªÔÆÌåÓýThat does not look familiar. 2013, it may be Ed Mana or it was done in house @ Crestron. Do you have any more info on the system? Note, at one point they lost a number of projects off their server. ? Paul ? From: [email protected] <[email protected]> On Behalf Of
Mark Jervis
Sent: Tuesday, June 29, 2021 11:48 AM To: [email protected] Subject: [crestron] Looking for some lighting programs written in 2013 for a client. ? I am looking for someone who may have written lighting programs for a client in 2013. |
Re: Alternative to 2N and Doorbird
¿ªÔÆÌåÓýCheck out Holovision?
Tim Riordan
Riordan Brothers Integration
Principal, CTS | Riordan Brothers Integration
www.riordanbrothers.com
From: [email protected] <[email protected]> on behalf of Brad Wykoff via groups.io <bradwykoff@...>
Sent: Friday, July 9, 2021 11:38:40 AM To: [email protected] <[email protected]> Subject: [crestron] Alternative to 2N and Doorbird ?
Looking for a Doorbell that is an alternative to 2N and Doorbird. Client doesn't like the look of either, looks to commercial. Looking for something that is small, elegant and integrates well with Crestron.
Any suggestions? |
Re: HR-310 remote battery life
Thanks Crestron for not putting 4 series archives on the ftp site yet.? I was unable to download 2.4617.00032 from their website, it gets a 404 error.? Luckily, I had a copy of the firmware on one of my machines.
Does anyone know how to force the firmware to rollback or revert to an older version? |
Re: Logic excluded as a result of #if_series3 directive
#if_series3
Yea just the hassle of having to update all the old S+ modules. The main problem is that if you just compile your Simpl as normal you dont even know these S+ errors are happening! So you end up deploying systems with broken or not optimal S+ module behavior when building for 3 series. The compiler should not break any logic under a if_series3 just because you have 4 series checked in S+. It should still be valid for 3 series but it instead breaks it. I have a case open and they have confirmed this broken behavior and filed a bug report.?
|
to navigate to use esc to dismiss