Ávila railway station

Ávila railway station (IATA: AVS) is the central railway station of Ávila, Spain. Commonly referred locally as the RENFE station, the station is part of Adif and high-speed rail systems.

Ávila
Coordinates40°39′25″N 4°40′58″W
Owned byadif
Operated byRenfe
ElectrifiedYes
Traffic
Passengers (2018)600,590[1]

Railway service

The station accommodates RENFE long-distance and medium-distance trains (AVE). A 55 km (34 mi) high-speed spur leaves the Madrid–Valladolid route at Segovia and continues to Ávila.[2]

Preceding station   Renfe Operadora   Following station
Madrid-Chamartín
Terminus
  Trenhotel "Atlántico"   Medina del Campo
toward Ferrol
  Trenhotel "Lusitania"   Medina del Campo
toward Santa Apolónia
  Trenhotel "Rías Gallegas"   Medina del Campo
toward A Coruña or Pontevedra
Herradón-La Cañada
toward Madrid-Chamartín
  Intercity   Arévalo
toward León
  Intercity   Arévalo
toward Vitoria-Gasteiz
  Intercity   Arévalo
toward Irun
Villalba
Media Distancia
13
Cardeñosa de Ávila
toward Salamanca
Media Distancia
16
Arévalo
Guimorcondo
Media Distancia
51
Terminus
gollark: As you can see, it has to explicitly manage a "waitgroup" for synchronization and whatnot.
gollark: ```go log.Println("Fetching feeds...") var feeds []*rss.Feed var wg sync.WaitGroup for _, source := range sources { wg.Add(1) src := source go func() { defer wg.Done() feed, err := rss.Fetch(src.String()) if err != nil { log.Printf("Error fetching %s: %s", src.String(), err.Error()) return } feeds = append(feeds, feed) log.Printf("Fetched %s", feed.Title) }() } wg.Wait()```So here is something which is meant to fetch a bunch of RSS feeds in parallel.
gollark: Somewhat? There doesn't seem to be a better way to do it.
gollark: Hold on, I worked on a tiny bit of Go code, I'll dredge some up as a sample.
gollark: It does not avoid those. You just reimplement them oddly.

References

  1. "Adif - Información de estaciones - -". ADIF. Retrieved 3 September 2019.
  2. "Boring begins beneath Madrid". Railway Gazette. 29 May 2010.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.