Microsoft patents code generator for cross-platform locking
Microsoft describes a system that takes general-purpose code and automatically creates specific instructions for different computer systems. It focuses on generating the right type of 'mutual exclusion' code, which prevents multiple parts of a program from accessing the same data at the same time.
In the filing’s own words
Systems, methods, apparatuses, and computer program products are disclosed for generating, from platform-agnostic source code, platform-specific code to efficiently implement mutual exclusion. Platform-agnostic source code includes a first block of code associated with a first implementation-agnostic context that is structured to cause instances of the first block of code to execute in isolation from other instances of code associated with the first implementation-agnostic context. A mutual exclusion implementation is determined for efficient implementation of mutual exclusion on a target platform. Platform-specific code is generated for the target platform to execute instances of the first block of code in isolation from other instances of code associated with the first implementation-agnostic context based on the determined mutual exclusion implementation.
What exactly they claim (claim 1)
1. A method comprising: receiving platform-agnostic source code of an application, the platform-agnostic source code comprising a first block of code associated with a first implementation-agnostic context, the first implementation-agnostic context structured to cause instances of the first block of code to execute in isolation from other instances of code associated with the first implementation-agnostic context; determining a target platform to execute the application; determining a mutual exclusion implementation for the target platform; generating, based on the determined mutual exclusion implementation, platform-specific code to execute instances of the first block of code in isolation from other instances of code associated with the first implementation-agnostic context; and executing the first block of code.
Facts
- Company
- Microsoft (Microsoft Technology Licensing, LLC)
- Official title
- Cross-platform mutual exclusion
- Patent number
- US12737164B2
- Application number
- 18663245
- Filed
- May 14, 2024
- Granted
- Sep 15, 2026
- Inventors
- 3
- Claims
- 20
Classified under
G06F 8/447 Physics & computingG06F 9/4881 Physics & computingG06F 9/526 Physics & computingMore from Microsoft in AI & software
- Microsoft patents method to check AI answers against verified facts Oct 20, 2026
- Microsoft patents AI that presents PowerPoint slides for you Sep 3, 2026
- Microsoft patents method to check if LLM answers are based on real data Sep 10, 2026
- Microsoft patents system to blend multiple AI agents into one chat Oct 1, 2026
- Microsoft patents system that answers questions using your screen history Oct 15, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.