Bitcoin Forum
June 25, 2024, 12:32:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Vite ICO - Decentralized Event Creation And Promotion. on: April 09, 2018, 09:38:14 PM
How VITE will maintain the synchronization of events that are coming one after another?

Hi Nuitusys,

The synchronization will be handled by the application on the backend. With out getting too technical or getting into too much detail, I can tell you that synchronization will be handled by monitors and code blocks. So at a high level it will work something like this. We check the location where the monitor is located for the code block associated with it. Then we would basically loop through the threads checking each for a lock on the monitor. If no locks are present get copy of all variables. If lock is present then wait for lock to be removed then get a clean copy of all variables replacing the dirty state variables. Then we run the block code. Next we will update variables that are changed inside of the block code and finally unlock the monitor. There are of course multiple ways of handling this scenario but this is the solution we have chosen that best fits our needs.

Thanks
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!