Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: runtime/include/dart_api.h

Issue 995883002: Yesterday's deadlock fix was wrong. It could drop notifications. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/dbg_message.cc ('k') | runtime/observatory/lib/src/elements/debugger.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 * for details. All rights reserved. Use of this source code is governed by a 3 * for details. All rights reserved. Use of this source code is governed by a
4 * BSD-style license that can be found in the LICENSE file. 4 * BSD-style license that can be found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef INCLUDE_DART_API_H_ 7 #ifndef INCLUDE_DART_API_H_
8 #define INCLUDE_DART_API_H_ 8 #define INCLUDE_DART_API_H_
9 9
10 /** \mainpage Dart Embedding API Reference 10 /** \mainpage Dart Embedding API Reference
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 */ 1101 */
1102 DART_EXPORT Dart_Handle Dart_HandleMessage(); 1102 DART_EXPORT Dart_Handle Dart_HandleMessage();
1103 1103
1104 /** 1104 /**
1105 * Handles any pending messages for the vm service for the current 1105 * Handles any pending messages for the vm service for the current
1106 * isolate. 1106 * isolate.
1107 * 1107 *
1108 * This function may be used by an embedder at a breakpoint to avoid 1108 * This function may be used by an embedder at a breakpoint to avoid
1109 * pausing the vm service. 1109 * pausing the vm service.
1110 * 1110 *
1111 * This function can indirectly cause the message notify callback to
1112 * be called.
1113 *
1111 * \return true if the vm service requests the program resume 1114 * \return true if the vm service requests the program resume
1112 * execution, false otherwise 1115 * execution, false otherwise
1113 */ 1116 */
1114 DART_EXPORT bool Dart_HandleServiceMessages(); 1117 DART_EXPORT bool Dart_HandleServiceMessages();
1115 1118
1116 /** 1119 /**
1117 * Does the current isolate have pending service messages? 1120 * Does the current isolate have pending service messages?
1118 * 1121 *
1119 * \return true if the isolate has pending service messages, false otherwise. 1122 * \return true if the isolate has pending service messages, false otherwise.
1120 */ 1123 */
(...skipping 1700 matching lines...) Expand 10 before | Expand all | Expand 10 after
2821 * NOTE: If multiple callbacks with the same name are registered, only the 2824 * NOTE: If multiple callbacks with the same name are registered, only the
2822 * last callback registered will be remembered. 2825 * last callback registered will be remembered.
2823 */ 2826 */
2824 DART_EXPORT void Dart_RegisterRootServiceRequestCallback( 2827 DART_EXPORT void Dart_RegisterRootServiceRequestCallback(
2825 const char* name, 2828 const char* name,
2826 Dart_ServiceRequestCallback callback, 2829 Dart_ServiceRequestCallback callback,
2827 void* user_data); 2830 void* user_data);
2828 2831
2829 2832
2830 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2833 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/dbg_message.cc ('k') | runtime/observatory/lib/src/elements/debugger.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698