X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fsignals.c;h=152afcf6cb8669e55840db487d9a9f4502bae6fc;hb=66e7d7a2cd928a5f1c64c7289b042d2fe2ebc21e;hp=7650cb9b0dacdd5f5953c86cf05f4f8a8805f4a5;hpb=5a08f9b04417ad1dc343861f3be3975a5cbd074c;p=openvswitch diff --git a/lib/signals.c b/lib/signals.c index 7650cb9b..152afcf6 100644 --- a/lib/signals.c +++ b/lib/signals.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2011 Nicira Networks. + * Copyright (c) 2008, 2009, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,9 +63,7 @@ signal_init(void) static bool inited; if (!inited) { inited = true; - xpipe(fds); - set_nonblocking(fds[0]); - set_nonblocking(fds[1]); + xpipe_nonblocking(fds); } }