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

Unified Diff: libraries/nacl-mounts/util/SimpleAutoLock.cc

Issue 10392070: Socket subsystem implementation (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 6 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 | « libraries/nacl-mounts/util/SimpleAutoLock.h ('k') | libraries/nacl-mounts/util/SlotAllocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libraries/nacl-mounts/util/SimpleAutoLock.cc
===================================================================
--- libraries/nacl-mounts/util/SimpleAutoLock.cc (revision 594)
+++ libraries/nacl-mounts/util/SimpleAutoLock.cc (working copy)
@@ -1,15 +0,0 @@
-/*
- * Copyright (c) 2011 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-#include "SimpleAutoLock.h"
-
-SimpleAutoLock::SimpleAutoLock(pthread_mutex_t *lock) {
- lock_ = lock;
- pthread_mutex_lock(lock_);
-}
-
-SimpleAutoLock::~SimpleAutoLock() {
- pthread_mutex_unlock(lock_);
-}
« no previous file with comments | « libraries/nacl-mounts/util/SimpleAutoLock.h ('k') | libraries/nacl-mounts/util/SlotAllocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698