In such cases, medals are usually awarded to the athletes who finish first. For example, if two athletes finish identically in the 100 meters, they will both receive gold medals.
In some cases, medals may be awarded to athletes who finish in the same time. For example, if two athletes finish tied in a relay race, they will both receive gold medals.
Here are some examples of cases where athletes were awarded two gold medals for identical finishes:
At the 1996 Atlanta Olympics, Eric Heiden and Michael Johnson finished tied in the 400-meter final. Both athletes received gold medals.
At the 2008 Beijing Olympics, Beatrice Hemmerl and Lidia Skoblikova finished in the same time in the 500m final. Both athletes received gold medals.
At the 2014 Sochi Olympics, Elizabeth Claiborne and Ariana Wilson finished tied in the 1500m final. Both athletes received gold medals.
The awarding of two gold medals for identical finishes is a decision made by the judges on a case-by-case basis.