Skip to content

Ex 1 – Dedicated Operating Systems – INE5424 – UFSC

Exercise 1
Idle-waiting Thread Joining
– It have as an objective to change the method “join” of a Thread. It was implemented like this:

[code lang=”c”] while(_state != FINISHING)
yield();
[/code]

This method consist in verify the state of the Thread that is joined, if the state is different from FINISHING, it calls yield(). This solution cause an overhead, because it do this verification all the time that the process is Phased. We should implement a new function, that don`t cause this overhead.

Modified files:
thread.cc
Thread.h

EPOS with our solution.
Steps, and explanation about other solutions (PORTUGUESE)

10,223 Comments

  1. EdwardoDoola EdwardoDoola

    Вызвать нарколога на дом или обратиться в клинику нужно, если после снижения дозы или прекращения употребления самочувствие сильно ухудшается. Первый осмотр помогает определить степень абстиненции и понять, можно ли эффективно провести лечение в домашних условиях или безопаснее выбрать стационарное наблюдение.
    Получить больше информации – скорая вывод из запоя

  2. Now appreciating that the post did not try to imitate any other style I might recognise, and a stop at cashcompass continued that distinct voice, content with its own register rather than borrowed from elsewhere is content with real authorial presence and this site has clearly developed that presence through what feels like patient editorial work.

  3. Thanks for laying this out in a way that someone newer to the topic can follow, and a stop at monitormerchant kept that accessibility going, writing that meets readers at different experience levels without condescending is hard to do well and the writers here have clearly thought about who they are writing for.

  4. Charlestof Charlestof

    Когда проблемы с алкоголизмом достигают критической точки, оперативное вмешательство становится жизненно необходимым. В Мариуполе квалифицированные наркологи оказывают помощь на дому, обеспечивая оперативную детоксикацию организма, стабилизацию жизненно важных показателей и психологическую поддержку. Такой формат лечения позволяет пациенту получить качественную медицинскую помощь в привычной домашней обстановке, сохраняя конфиденциальность и минимизируя стресс, связанный с посещением стационара.
    Детальнее – нарколог на дом вывод из запоя мариуполь

  5. Considered as a whole this site has developed a coherent point of view that comes through in individual pieces, and a look at lilyluxe continued displaying that coherence, sites with a unified perspective rather than a grab bag of takes are sites with editorial maturity and this one has clearly developed that maturity through years of work.

  6. Approaching this site through a casual link click and being surprised by what I found, and a look at blog44fish extended the surprise, the rare experience of stumbling into excellent independent content rather than predictable mediocrity is one of the actual remaining pleasures of casual web browsing and this site provided it cleanly.

  7. Now I want to find more sites like this but I suspect they are rare, and a look at goldgraph extended that thought, the few sites that meet this quality bar are precious specifically because they are rare and finding others like them is one of the ongoing projects of careful internet curation across the years.

  8. Reading this with my morning coffee turned into reading the related posts with my morning coffee, and a stop at yottamart stretched the morning further, content that pulls breakfast into a reading session rather than just accompanying it is content that has earned a higher claim on my attention than the average article does.

  9. Came in skeptical of the angle and left mostly persuaded, and a stop at conversioncove pushed me a bit further in the same direction, content that can move a critical reader by argument rather than rhetoric is rare and worth pointing out because it indicates real substance underneath the surface presentation here.

Leave a Reply

Your email address will not be published. Required fields are marked *