From: Danilo Almeida Date: Thu, 10 Jun 1999 18:15:11 +0000 (+0000) Subject: Use PostMessage instead of SendMessage so that we don't block X-Git-Tag: krb5-1.1-beta1~108 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=27550cef48721b0777f5d150872f69cd480c0a0e;p=krb5.git Use PostMessage instead of SendMessage so that we don't block git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11508 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ccapi/ChangeLog b/src/lib/krb5/ccache/ccapi/ChangeLog index c4042a5ac..d4f7f5933 100644 --- a/src/lib/krb5/ccache/ccapi/ChangeLog +++ b/src/lib/krb5/ccache/ccapi/ChangeLog @@ -1,3 +1,8 @@ +1999-06-10 Danilo Almeida + + * stdcc.c (cache_changed): Use PostMessage instead of SendMessage + so that we don't block. + 1999-06-08 Danilo Almeida * winccld.h: Remove references to cc_*_instance functions. diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c index c55a7073b..2a7a9775f 100644 --- a/src/lib/krb5/ccache/ccapi/stdcc.c +++ b/src/lib/krb5/ccache/ccapi/stdcc.c @@ -91,7 +91,7 @@ void cache_changed() if (message == 0) message = RegisterWindowMessage(WM_KERBEROS5_CHANGED); - SendMessage(HWND_BROADCAST, message, 0, 0); + PostMessage(HWND_BROADCAST, message, 0, 0); } #else /* _MSDOS || _WIN32 */ diff --git a/src/lib/krb5/ccache/file/ChangeLog b/src/lib/krb5/ccache/file/ChangeLog index 07e370cbb..f99e78246 100644 --- a/src/lib/krb5/ccache/file/ChangeLog +++ b/src/lib/krb5/ccache/file/ChangeLog @@ -1,3 +1,8 @@ +1999-06-10 Danilo Almeida + + * fcc_ops.c (krb5_cache_change): Use PostMessage instead of + SendMessage so that we don't block. + Mon May 10 15:24:49 1999 Danilo Almeida * Makefile.in: Do win32 build in subdir. diff --git a/src/lib/krb5/ccache/file/fcc_ops.c b/src/lib/krb5/ccache/file/fcc_ops.c index e873bed0b..3260421ce 100644 --- a/src/lib/krb5/ccache/file/fcc_ops.c +++ b/src/lib/krb5/ccache/file/fcc_ops.c @@ -59,7 +59,7 @@ krb5_cc_ops krb5_fcc_ops = { krb5_error_code krb5_change_cache (void) { - SendMessage(HWND_BROADCAST, krb5_get_notification_message(), 0, 0); + PostMessage(HWND_BROADCAST, krb5_get_notification_message(), 0, 0); return 0; }