License header & style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31016 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
/*
|
||||
* Copyright 2009 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
|
||||
* All rights reserved. Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef PORTLISTENER_H_
|
||||
#define PORTLISTENER_H_
|
||||
|
||||
@@ -18,7 +22,6 @@ class PortListener {
|
||||
port_listener_func func;
|
||||
} fInformation;
|
||||
|
||||
|
||||
public:
|
||||
PortListener(const char* name, port_listener_func handler)
|
||||
{
|
||||
@@ -97,6 +100,7 @@ class PortListener {
|
||||
|
||||
|
||||
status_t Stop() {
|
||||
|
||||
status_t status;
|
||||
|
||||
wait_for_thread(fThread, &status);
|
||||
|
||||
Reference in New Issue
Block a user