Use PostMessage instead of SendMessage so that we don't block
authorDanilo Almeida <dalmeida@mit.edu>
Thu, 10 Jun 1999 18:15:11 +0000 (18:15 +0000)
committerDanilo Almeida <dalmeida@mit.edu>
Thu, 10 Jun 1999 18:15:11 +0000 (18:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11508 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ccapi/ChangeLog
src/lib/krb5/ccache/ccapi/stdcc.c
src/lib/krb5/ccache/file/ChangeLog
src/lib/krb5/ccache/file/fcc_ops.c

index c4042a5ace6f41759a8b877e3d205cc0b585f982..d4f7f5933c53daf7e74cfc3c79bc321959c8bb2c 100644 (file)
@@ -1,3 +1,8 @@
+1999-06-10  Danilo Almeida  <dalmeida@mit.edu>
+
+       * stdcc.c (cache_changed): Use PostMessage instead of SendMessage
+               so that we don't block.
+
 1999-06-08  Danilo Almeida  <dalmeida@mit.edu>
 
        * winccld.h:  Remove references to cc_*_instance functions.
index c55a7073bd9f18f89e13670228a66be0d0fed455..2a7a9775f84d1e6bc2d64d399273688b47451df5 100644 (file)
@@ -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 */
 
index 07e370cbb1d27adc262e823d8a624f87b3414cfb..f99e78246022e0e2981aa3cd35b7d973f19a1534 100644 (file)
@@ -1,3 +1,8 @@
+1999-06-10  Danilo Almeida  <dalmeida@mit.edu>
+
+       * 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  <dalmeida@mit.edu>
 
        * Makefile.in: Do win32 build in subdir.
index e873bed0b0e5fde6b1fd85189b6d18062b3e21c8..3260421ce261abcca1c738e4fff0dedfbab5d899 100644 (file)
@@ -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;
 }