Subversion Repositories HelenOS-historic

Rev

Rev 1406 | Rev 1656 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1406 Rev 1653
Line 22... Line 22...
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
 
27
 */
-
 
28
 
-
 
29
 /** @addtogroup libc
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
27
 */
33
 */
28
 
34
 
29
#include <libc.h>
35
#include <libc.h>
30
#include <unistd.h>
36
#include <unistd.h>
31
#include <thread.h>
37
#include <thread.h>
Line 59... Line 65...
59
 
65
 
60
void __exit(void) {
66
void __exit(void) {
61
    psthread_teardown(__tcb_get()->pst_data);
67
    psthread_teardown(__tcb_get()->pst_data);
62
    _exit(0);
68
    _exit(0);
63
}
69
}
-
 
70
 
-
 
71
 
-
 
72
 /** @}
-
 
73
 */
-
 
74
 
-
 
75