Re: WaitForMultipleObjects in C Extension
Merlin Moncure <[email protected]> Tue, 14 Jan 2020 08:28:47 -0600
| Newsgroups | gmane.comp.db.postgresql.general |
|---|---|
| Message-ID | <CAHyXU0xvDfXdoz-WWFwjCw+sAOz4+PM3NwyRvQo+h7udrV26oQ@mail.gmail.com> |
On Tue, Jan 14, 2020 at 1:39 AM =C4=B0lyas Derse <[email protected]> wro= te: > > Hi guys I need your experiences. I made an Extension in C. When I stop t= he query on PostgreSQL,I want to control my extension's result with use cas= es in C.So I think , I should use WaitForMultipleObjects. Is there a like a= SignalObjectHandle() ? By the way I'm using Windows. Are you using threading in your extension? This is something to avoid except in very specific cases, particularly using native calls. merlin