• Simon Marlow's avatar
    Enable -prof -threaded (#886) · 50c4d039
    Simon Marlow authored
    It turns out that -prof -threaded works (modulo some small changes),
    because all the data structures used in profiling are only accessed by
    one thread at a time, at long as we don't use +RTS -N2 or higher.  So
    this patch enables the use of -prof -threaded, but an error is given
    if you ask for more than one CPU with +RTS -N.
RtsFlags.c 74.5 KB