我们正在尝试为窗户撰写一份服务书,并需要制定 red余计划,这样,如果申请中的一些内容失败,就会再次收回。 i m 想知道,我是否能够利用多面办法实现这一目标。
my idea is to create two threads which each handle separate tasks. i would like to also have each thread monitor the other thread to make sure its still running, if its not, then it should start up a new instance of that thread. does this sound feasible? what threading techniques would i use: mutexes, shared memory, semaphores, etc...? if this is not the correct approach, then what might be, just write two separate services and use IPC?