Tema: Re: Padekit pagaut bug'a (Arduino)
Autorius: ejs
Data: 2015-06-07 23:00:58
2015-06-07 22:43, CodeC rašė:
> jei neklystu, cia parasyta +- for dummies:
>
> http://blog.regehr.org/archives/28
>
> *6. Using volatile to get atomicity*
> <...>
> *Summary: Volatile has nothing to do with atomicity.  Use locks.*
>
> ka dar pamirsau pries 2-3 postus parasyt ir pasiulyt, kad vizualizuoti
> problemos esme: kintamojo tipa is int pakeisti i char ir maks reiksme
> sumazinti iki 0xff. stebuklingai volatile "prades veikti" taip kaip EJS
> tikisi ir "problemos neliks" :)

o kaip pastoviai gauti 512 su int tipu?
-- 
Grammar for Time Travelers:
The term "Future Perfect" has been abandoned since it was discovered not 
to be.