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

Unified Diff: runtime/bin/socket.h

Issue 12380032: Added Socket::SetBlocking() and Socket::SetNonBlocking(). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/socket_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket.h
===================================================================
--- runtime/bin/socket.h (revision 19251)
+++ runtime/bin/socket.h (working copy)
@@ -51,6 +51,9 @@
static Dart_Handle SetSocketIdNativeField(Dart_Handle socket, intptr_t id);
static Dart_Handle GetSocketIdNativeField(Dart_Handle socket, intptr_t* id);
+ static bool SetNonBlocking(intptr_t fd);
+ static bool SetBlocking(intptr_t fd);
siva 2013/03/01 01:24:56 Why not club these with all the socket operation m
Tom Ball 2013/03/01 18:33:04 Done.
+
private:
static dart::Mutex mutex_;
static int service_ports_size_;
« no previous file with comments | « no previous file | runtime/bin/socket_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698