Karl Gustav von Sandrart

Karl Gustav von Sandrart (1817-1898) was a Prussian general in the Franco-Prussian War of 1870.[1]

Awards

  • San Fernando Order in 1859


gollark: Really? Hmm. Explain.
gollark: And it mutates some shared state.
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.

References

  1. Eckhard Wendt: Stettiner Lebensbilder. Veröffentlichungen der Historischen Kommission für Pommern, Reihe V, Band 40. Böhlau Verlag, Köln Weimar Wien 2004, ISBN 3-412-09404-8, S. 392–393.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.