02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6<br />

Browser<br />

Notice the folder icons; the lines they mark categorize the task information. You<br />

can hide any information that is not of interest to you by clicking on any open<br />

folder, or expose such hidden information by clicking on any closed folder.<br />

Figure 6-5 shows another task browser running on the same target architecture,<br />

but with most of the hardware registers hidden.<br />

Figure 6-5<br />

Task Browser (Hiding Registers)<br />

6<br />

click<br />

on folders<br />

to expose<br />

detail<br />

Task-browser windows close automatically when the corresponding tasks are<br />

deleted.<br />

6.6.2 The Semaphore Browser<br />

To inspect a semaphore, enter either its name or its semaphore ID in the main target<br />

browser’s Show box. A specialized semaphore browser appears, similar to the one<br />

shown in Figure 6-6. The semaphore browser displays both information about the<br />

semaphore itself (under the heading Attributes), and the complete queue of tasks<br />

blocked on that semaphore, under the heading Blocked Tasks. The title bar shows<br />

the semaphore ID, to help you distinguish browser displays for multiple<br />

semaphores.<br />

Figure 6-6 shows a binary semaphore with one blocked task in its queue. As in<br />

other browser windows, you can click on the folders to control detail. To start a<br />

browser for any queued task, click on the task name or ID; both are displayed for<br />

each task.<br />

215

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!