まったくないのにそんなの出来ない(´・ω・`)
あと、場所が Cambridge, MA (Plumberと併設)ってのもマイナスで・・・東海岸はボストンで
こりごりだよ的な。主に飛行機の時間的な意味で
#include <cstdlib>
#include <iostream>
#include <pthread.h>
static pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;
static pthread_cond_t c = PTHREAD_COND_INITIALIZER;
static void *tf (void *)
{
try {
::pthread_mutex_lock(&m);
::pthread_cond_wait (&c, &m);
} catch (...) {
// do something
}
}
int main ()
{
pthread_t th;
::pthread_create (&th, NULL, tf, NULL);
// do some work; simulate using sleep
std::cout << "Wait a bit" << std::endl;
sleep (1);
// cancel the child thread
::pthread_cancel (th);
// wait for it
::pthread_join (th, NULL);
}
$ ./test
Wait a bit
FATAL: exception not rethrown
Aborted (core dumped)
@@ -1,6 +1,7 @@
#include
#include
#include
+#include
static pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;
static pthread_cond_t c = PTHREAD_COND_INITIALIZER;
@@ -11,6 +12,8 @@
try {
::pthread_mutex_lock(&m);
::pthread_cond_wait (&c, &m);
+ } catch (abi::__forced_unwind&) {
+ throw;
} catch (...) {
// do something
}
Hi,
We are software engineering researchers at North Carolina State University, studying developer collaboration in open source projects. We are currently doing a case study of the Linux kernel, and we are inviting you to take a short, 10-minute online survey about working in open source.
The survey is customized to you and your team, personally. Do not be alarmed - we obtained your email and other information from public sources, primarily from git.kernel.org. We are also sending this email to over 200 other developers working on the Linux kernel.
Each person who completes this survey is entered into a drawing to win a $50 gift certificate to Amazon.com. Additionally, by taking this survey, you will also get the satisfaction of helping a PhD student finish his dissertation :)
Below is the link to access this survey. Note that this url is customized to you only, so please do not share this link with anyone else.
Here is the url:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
or, if the direct link doesn't work, go to http://agile.csc.ncsu.edu/xxxxxxxxxxxxx and use the following information:
User: xxxxxxxxxxxxxx
Password: xxxxxxxxxxxxx
If you can, please complete this survey by August 9th, 2010. At that time, we may contact you one more time to conduct a brief follow-up interview. Feel free to contact me at this email address if you have any questions. Thank you!
Sincerely,
Andy Meneely and Laurie Williams
http://www4.ncsu.edu/xxxxxxxxxxxxxx
http://collaboration.csc.ncsu.edu/xxxxxxxxxxx
Date: Sun, 1 Aug 2010 22:59:02 GMT
From: Linux Kernel Mailing List
To: git-commits-head@vger.kernel.org
Subject: Linux 2.6.35
Gitweb: http://git.kernel.org/linus/9fe6206f400646a2322096b56c59891d530e8d51
Commit: 9fe6206f400646a2322096b56c59891d530e8d51
Parent: 77a63f3d1e0a3e7ede8d10f569e8481b13ff47c5
Author: Linus Torvalds
AuthorDate: Sun Aug 1 15:11:14 2010 -0700
Committer: Linus Torvalds
CommitDate: Sun Aug 1 15:11:14 2010 -0700
Linux 2.6.35
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 886bf04..141da26 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 35
-EXTRAVERSION = -rc6
+EXTRAVERSION =
NAME = Sheep on Meth
# *DOCUMENTATION*
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html