Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Implement various remaining PAL functions for Unix #644

Closed

Description

@janvorli

We need to implement:

  • PalGetCurrentProcessorNumber for OSX / FreeBSD
  • PalAllocateThunksFromTemplate
  • TerminateProcess
  • GetEnvironmentVariableW
  • PalGetModuleBounds - getting the upper limit
  • PalReadFileContents
  • PalGetModuleFileName
  • GetCurrentThreadId
  • FlushFileBuffers / WriteFile (probably reimplement their usage by CRT functions)
  • GCToOSInterface::VirtualReset
  • GCToOSInterface::GetLargestOnDieCacheSize

Activity

  1. self-assigned this
    on Jan 13, 2016
  2. added this to the milestone on Jan 13, 2016
  3. janvorli commented on Jan 27, 2016

    @janvorli
    MemberAuthor

    Remaining stuff:

    • PalAllocateThunksFromTemplate
    • TerminateProcess
    • PalGetModuleBounds - getting the upper limit
    • PalGetModuleFileName
    • GetCurrentThreadId
    • GCToOSInterface::VirtualReset
    • GCToOSInterface::GetLargestOnDieCacheSize
  4. jkotas commented on Jan 27, 2016

    @jkotas
    Member

    PalAllocateThunksFromTemplate

    This should be done as part of #658 instead.

    TerminateProcess, PalGetModuleBounds

    The callers of these functions will need work because of they are very Windows-specific. We should not need these once the callers are ported to Unix.

  5. janvorli commented on Mar 2, 2016

    @janvorli
    MemberAuthor

    Ok, so that leaves us with:
    PalGetModuleFileName
    GetCurrentThreadId
    GCToOSInterface::VirtualReset
    GCToOSInterface::GetLargestOnDieCacheSize

  6. janvorli commented on Mar 10, 2016

    @janvorli
    MemberAuthor

    Remaining items:
    PalGetModuleFileName
    GCToOSInterface::VirtualReset
    GCToOSInterface::GetLargestOnDieCacheSize

  7. janvorli commented on Apr 11, 2016

    @janvorli
    MemberAuthor

    PalGetModuleFileName implemented by #1004,
    remaining items:
    GCToOSInterface::VirtualReset
    GCToOSInterface::GetLargestOnDieCacheSize

  8. modified the milestones: January 2017, Preview on Jul 15, 2017
  9. janvorli commented on Aug 19, 2019

    @janvorli
    MemberAuthor

    This issue is stale, everything was already done in the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions