Ignore:
Timestamp:
Aug 27, 2007, 6:06:17 AM (18 years ago)
Author:
bird
Message:

Use kStuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/kProfile/dllmain-win.cpp

    r3537 r3565  
     1/* $Id: $ */
     2/** @file
     3 * kProfiler Mark 2 - The Windows DllMain for the profiler DLL.
     4 */
    15
     6/*
     7 * Copyright (c) 2006-2007 knut st. osmundsen <bird-src-spam@anduin.net>
     8 *
     9 * This file is part of kProfile.
     10 *
     11 * kProfile is free software; you can redistribute it and/or
     12 * modify it under the terms of the GNU Lesser General Public
     13 * License as published by the Free Software Foundation; either
     14 * version 2.1 of the License, or (at your option) any later version.
     15 *
     16 * kProfile is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     19 * Lesser General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU Lesser General Public
     22 * License along with kProfile; if not, write to the Free Software
     23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     24 *
     25 */
    226
    327
     
    630*******************************************************************************/
    731#include <Windows.h>
    8 
    932#include "kProfileR3.h"
    1033
    1134
    12 
    1335/**
    14  * The DLL Main for the IPRT DLL.
     36 * The DLL Main for the kPrf DLL.
    1537 *
    16  * This is required for profiling, it is not (currently) used for any
    17  * other purposes. (It could be used to track the death of alian threads
    18  * perhaps, if we decide to adopt them automatically.)
     38 * This is required because we need to initialize the profiler at some point
     39 * and because we need to know when threads terminate. (We don't care about
     40 * when threads get created, we simply pick them up when we see them the
     41 * first time.)
    1942 *
    2043 * @returns Success indicator.
Note: See TracChangeset for help on using the changeset viewer.