Skip to content

Add Sleep Sort in COBOL#5615

Merged
rzuckerm merged 1 commit intoTheRenegadeCoder:mainfrom
pascalecu:cobol/sleep-sort
Apr 20, 2026
Merged

Add Sleep Sort in COBOL#5615
rzuckerm merged 1 commit intoTheRenegadeCoder:mainfrom
pascalecu:cobol/sleep-sort

Conversation

@pascalecu
Copy link
Copy Markdown
Member

Congrats on taking the first step to contributing to the Sample Programs repository maintained by The Renegade Coder!
For simplicity, please make sure that your pull request includes one and only one contribution.

Please fill one of the sections below as applicable.
Please also add any other relevant information to the Notes section at the bottom.
You may delete or just ignore any other sections.

I Am Adding a New Code Snippet in an Existing Language

  • I fixed Add Sleep Sort in COBOL #5600
  • I did not include any extra folders/libraries
  • I named the pull request using Add {PROJECT} in {LANGUAGE} format

Other notes

Good thing GnuCOBOL compiles down to C and the container is on Linux, otherwise I have no idea how this could be achieved. Maybe down the road a GnuCOBOL master could redo this using CBL_GC_NANOSLEEP or some other means, seeing as the language doesn't provide a way to do threads and everyone just adds intrinsics, but as it stands this works... hopefully well enough.

@github-actions github-actions Bot added enhancement Any code that improves the repo sleep sort See: https://sampleprograms.io/projects/sleep-sort/ labels Apr 20, 2026
Copy link
Copy Markdown
Collaborator

@rzuckerm rzuckerm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty wild!

@rzuckerm rzuckerm merged commit c769949 into TheRenegadeCoder:main Apr 20, 2026
32 checks passed
@pascalecu pascalecu deleted the cobol/sleep-sort branch April 30, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Any code that improves the repo sleep sort See: https://sampleprograms.io/projects/sleep-sort/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Sleep Sort in COBOL

2 participants