






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







This is a closed book examination. Please place all your books on the floor beside you. You may keep one page of notes on your desktop in addition to this exam package. All examinations will be collected at 8:20. Please be prepared to quickly hand in your examination at that time. If you have any questions, please do not leave your seat. Raise your hand and I will come to your desk to discuss your question. I will answer all questions about the meaning of the wording of any question. I may choose not to answer other questions. You will find it helpful to review all questions before beginning. All questions are given equal weight for grading, but not all questions have the same difficulty. Therefore, it is very much to your advantage to answer first those questions you believe to be easiest.
Note that the communication component’s send and receive threads are doing no COM work, so they don’t need a pointer to the component’s interface and no marshaling is carried out as part of their activities.
Secondary STA Primary STA Communication Component socket Executive Pops up user interface form if client, otherwise simply manages component and worker thread. Worker Thread Gathers directory and file information, copies files Form.Invoke With this structure, only two threads, on each machine, need to know about the communication component interface. Send thread Recv thread Primary STA thread Primary STA thread Secondary STA Primary STA thread thread Secondary STA thread