<div dir="ltr"><span class="gmail-"></span><br><span class="gmail-"></span><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I don't think this is happening in a thread? Only alwaysok/file/pam<br>
authentication is happening inside a thread. All the rest of xauth<br>
happens in the main process. (I thought Andrew had pulled out<br>
alwaysok/file from threads but I guess he didn't end up doing that)<br><br></blockquote><div><br></div><div>It does the following:</div><div><br></div><div>- performs everything on the main thread, but but wait there's more<br></div><div><br></div><div>- right at the very end create of an xauth thread who's only task is to schedule an event to report back that things passed/failed</div><br></div><div class="gmail_quote">while horrible it was easier than figuring out how to get the IKEv1 and/or event code so that things only sometimes suspended</div><div class="gmail_quote"><br></div><div class="gmail_quote">(clearly the thread bit in the middle is just a tad excessive :-)</div><div class="gmail_quote"><br></div><div class="gmail_quote">> In fact, I just removed the pthread include from ikev1_xauth.c :P</div><div class="gmail_quote"><br></div><div class="gmail_quote">ah, I missed that one<br></div></div></div>