raspberry pi - Set priority for I/O jobs -


i wonder there api or hack increase apps process priority on raspberry pi2 make sure there no io change missed. , should busy wait time sensetive jobs?

you may consider using async , await in code.

if specify method async method using async or async modifier, enable following 2 capabilities.

  1. the marked async method can use await or await designate suspension points. await operator tells compiler async method can't continue past point until awaited asynchronous process complete. in meantime, control returns caller of async method.

the suspension of async method @ await expression doesn't constitute exit method, , blocks don’t run.

  1. the marked async method can awaited methods call it.

you can learn more here: https://msdn.microsoft.com/en-us/library/hh191443.aspx


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -